Replies: 1 comment 1 reply
-
I made a small change in the way |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a predicate
gm__/2
in this messy script here,which takes a movie id for the TMDB API and returns some pruned info from the (expected) json response. I borrowed the usage from the documentation example.
My logic so far seems to hang the program at around 64 calls.
I've tried logging the status code to the terminal, but it appears to be inadequate to gauge what is going on:
I thought that this might be a rate limit issue, and I have tried doing sleeping after a batch of http requests. This doesn't seem to work even with sleeping 300 seconds after every 10 http requests.
I'd like to know if there is some bad practice i am doing which is making the program hang, something in the predicate that could be a bad practice when dealing with the outside world and streams. Also would like to know how to stop the predicate if it exceeds a time limit, and if there is a good way to debug this issue in my code.
Beta Was this translation helpful? Give feedback.
All reactions