https://prefect.io logo
#prefect-server
Title
# prefect-server
d

Diego Alonso Roque Montoya

02/21/2021, 9:11 PM
Is there a limit to the size of the flows when pushing to the prefect server? I have a ~1500 task flow (usually 1-4 dependencies per task) that crashes graphql when I send it, but whenever I send any subparts of the graph it seems to work fine.
n

nicholas

02/21/2021, 9:12 PM
Hi @Diego Alonso Roque Montoya - there isn’t a hard limit anywhere but it IS limited by hard resources like memory and CPU. Try giving your nodes more resources and see if that fixes your problem :)
a

Alex Cano

02/21/2021, 9:22 PM
You can also check the link below where it looks like there’s a 1MB hard payload size limit. I’m assuming the registration is occurring from Python, and I’m assuming you haven’t changed the
compressed
argument on the
Client.register
function as well. You can try editing the value below in your copy of server and seeing if that works as well! Link in the codebase: https://github.com/PrefectHQ/server/blob/master/services/apollo/src/index.js#L103
upvote 1
d

Diego Alonso Roque Montoya

02/22/2021, 3:02 AM
This makes a lot of sense to me. Is there an easy way to do this with the single node deployment?
n

nicholas

02/22/2021, 6:58 PM
Hi @Diego Alonso Roque Montoya - to modify Server settings like the above I think the easiest thing to do would be to do an editable python install of Prefect Server and spin it up after modifying those values.
2 Views