You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this is not the right way to use it and that I should keep the pushManager started for much longer. I'm just testing how shutdown with timeout behaves, and it looks like a weird behavior to me:
What about a drainAndShutdown(long timeout) which blocks accepting new notifications and only drains the current buffer ones?
See tentative impl in #25
While testing pushy, I am doing (simplified version):
I know this is not the right way to use it and that I should keep the pushManager started for much longer. I'm just testing how shutdown with timeout behaves, and it looks like a weird behavior to me:
I would expect it to have enough time in 3 seconds to drain the buffer, given that it contains just one notification...
The text was updated successfully, but these errors were encountered: