-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HWKALERTS-74 unrelated: tweak session management
After rebasing on master I had a lot of trouble getting alerts to deploy correctly in Hawkular Dist. Schema creation was failing on what appeared to be some sort of resource conflict. After some investigation it looked to me like the getSession() needed to be synchronized to avoid the possibility of two threads trying to create the schema at the same time.
- Loading branch information
Showing
1 changed file
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters