Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prevent concurrency issue in test_webhook_hander.py (#1658) | James Falcon | 2022-08-16 | 1 | -2/+3 |
| | | | | | | There were very occassionally failures seen in test_multiple_failures_no_flush, likely due to the background thread not having enough CPU time. Reduce background thread load and add short sleep in main loop to fix issue. | ||||
* | Update WebHookHandler to run as background thread (SC-456) (#1491) | James Falcon | 2022-06-27 | 1 | -0/+120 |
When reporting via the WebHookHandler, the events are handled on the main thread. This slows the execution of cloud-init significantly. If there are timeouts in POSTing, this can make cloud-init appear to be stuck. This commit updates the WebHookHandler to run in the background as to not block the main thread. Documentation was also added as this feature wasn't previously documented outside of examples. LP: #1910552 |