Revert "bugtrackers: make bug creation and DB updating "atomic""
The original patch causes a ValueError to be raised due to the fact that the signal handler setting is not done in the main thread. Below is the error:
ValueError: signal only works in main thread
This reverts commit 8774cce4.
I didn't think about the fact that the polling process is not executed in the main thread.
I'm not sure if there is a way to implement this given that fact, but I'll have to look into it at some point. Given this is a rare edge case, I wouldn't say it's a priority though.