Skip to content

Conversation

joshpme
Copy link
Contributor

@joshpme joshpme commented Apr 26, 2025

I have been investigating why I am not getting notifications reliably.

I believe using threading might be causing the issue. I believe the child thread may be terminating before the request completes, due to the parent thread completing.

@ThiefMaster I believe you recommended against using threading in my original PR. My reason at the time for introducing it was to prevent any delays sending the notification would introduce. But even with good intentions my implementation wasn't going to work.

I have removed it from using a thread, and I introduced a 10 second timeout on the request. Hopefully this will fix the issue.

…t is completed.

Introduce a timeout to prevent hanging
@ThiefMaster ThiefMaster merged commit 77914f2 into indico:master Apr 28, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants