I had to do a workaround for inverting the calls. I had to keep the state in a variable and return that after the call to Survey.contact_attempt_expired.
I'm not fan of this solution, but I think I prefer this to the previous version, but I read your opinions!
Remove
:low
priority since it doesn't make sense anymore. The piece of code where it was being considered is now unreachable after #2300☝️ The thing is that now (with the queue stored in the db) we only activate respondents which contact
See
ChannelBrokerState.activate_next_in_queue
this closes #2289
Invert calls to
Survey
andChannelBrokerState
when theChannelBroker
tries to activate the next queued contact and it's expiredObservations 👀
I had to do a workaround for inverting the calls. I had to keep the
state
in a variable and return that after the call toSurvey.contact_attempt_expired
. I'm not fan of this solution, but I think I prefer this to the previous version, but I read your opinions!