summaryrefslogtreecommitdiff
path: root/ws.go
diff options
context:
space:
mode:
Diffstat (limited to 'ws.go')
-rw-r--r--ws.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ws.go b/ws.go
index ca4f1a9..0f94bb1 100644
--- a/ws.go
+++ b/ws.go
@@ -351,6 +351,7 @@ func handleConn(
case usemParent <- courseID:
}
}
+ time.Sleep(time.Duration(config.Perf.CourseUpdateInterval) * time.Millisecond)
}
}()
}