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
While working on #112, I experienced some delay when replaying the whole
Icinga 2 Objects API state after an Event Stream connection loss. After
taking some pprof snapshots, some big unlocks occurred.
Thus, I minimized the scopes or code areas being mutex protected.
Especially in the GetCurrent function creates a long Lock even over SQL
queries.
However, in most experimental sessions the locks were insignificant,
while the SQL internals required huge time slots.
0 commit comments