Thread
#prefect-server
    Diego Alonso Roque Montoya

    Diego Alonso Roque Montoya

    1 year ago
    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.
    nicholas

    nicholas

    1 year ago
    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

    1 year ago
    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
    Diego Alonso Roque Montoya

    Diego Alonso Roque Montoya

    1 year ago
    This makes a lot of sense to me. Is there an easy way to do this with the single node deployment?
    nicholas

    nicholas

    1 year ago
    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.