Hey, small question regarding timeout and packagin...
# ask-metaflow
i
Hey, small question regarding timeout and packaging - When trying to create a flow (based on argo-workflows create) - if our FlowSpec file is in the main dir of our repo - we are getting timeouts. On the other hand - inserting the exact same file into an empty dir and it succeeds. It seems like the packing procedure (under the folder of the Flowspec file) is just too heavy to handle in some cases. Is it possible to change the timeout/something else? Thanks!
v
firstly, you can check what goes in the package by running
Copy code
python myflow.py package list
or check the size by doing
Copy code
python myflow.py package save mypackage.tar
ls -lh mypackage.tar
it's surprising if the package would be so large just with source code that it would cause timeouts
if you include other files in the package with
--package-suffixes
then it might get arbitrarily large. A workaround would be to use
IncludeFile
or some other mechanism to separate the large files from the package
can you check your package size to confirm that it's the issue?