Remove remaining event posting from synchronized sections

Posting events sometimes can take significant time, mainly due to the
event visibility checks. When this is done from a synchronized block
then all other threads trying to schedule replication to the same
(locked) Destination get blocked. Even worse, the synchronization
happens on the Destination level, so even operations on unrelated
repositories block each other.

Change-Id: I7498c7b36ee4b0b2d915a414a0fb1054160e8a1c
1 file changed
tree: caabf11346d53f6567639897a3dadd786e9c43bf
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE