From 55854e3224b9157927d8b715443c1663d2ef15a8 Mon Sep 17 00:00:00 2001
From: Garet Halliday <me@garet.holiday>
Date: Sat, 16 Sep 2023 02:54:11 -0500
Subject: [PATCH] man

---
 lib/rob/schedulers/v2/scheduler.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rob/schedulers/v2/scheduler.go b/lib/rob/schedulers/v2/scheduler.go
index 39079dfd..83480bea 100644
--- a/lib/rob/schedulers/v2/scheduler.go
+++ b/lib/rob/schedulers/v2/scheduler.go
@@ -163,7 +163,7 @@ func (T *Scheduler) Acquire(user uuid.UUID, mode rob.SyncMode) uuid.UUID {
 		T.Enqueue(j)
 
 		done := make(chan struct{})
-		defer func() {
+		go func() {
 			time.Sleep(10 * time.Second)
 			select {
 			case <-done:
-- 
GitLab