Question about limitations of task function argument type. #10734
Unanswered
wyl1232792
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any limit that task function can take in prefect?
I'm working on prefect workflow, of which tasks often make requests through sqlConnection and natsClient.
My pattern is like below.
Though I found very strange behaviours like request timeout, no connections etc, while those function works fine in normal runtime.
I understand there might be some complicated runner which makes connection pool unusable.
So should I only pass basic, stateless arguments into task functions? Is there any apis that enables sharing connection pools among task runs?
Beta Was this translation helpful? Give feedback.
All reactions