aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/main.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-05 05:09:41 +0900
committernsfisis <nsfisis@gmail.com>2024-08-05 05:14:30 +0900
commit2fc239b3f4d49f1a257523df7c7781a2141252bf (patch)
tree5b5c826e39dbc560bea29461e65a1f712382e19d /backend/main.go
parent1325626397703567828a903a82fc1ed8626dbad4 (diff)
downloadiosdc-japan-2025-albatross-2fc239b3f4d49f1a257523df7c7781a2141252bf.tar.gz
iosdc-japan-2025-albatross-2fc239b3f4d49f1a257523df7c7781a2141252bf.tar.zst
iosdc-japan-2025-albatross-2fc239b3f4d49f1a257523df7c7781a2141252bf.zip
feat(backend): implement task queue processor
Diffstat (limited to 'backend/main.go')
-rw-r--r--backend/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/main.go b/backend/main.go
index a213c6c..7cfbe2f 100644
--- a/backend/main.go
+++ b/backend/main.go
@@ -61,7 +61,7 @@ func main() {
e.Use(middleware.Recover())
taskQueue := taskqueue.NewQueue("task-db:6379")
- workerServer := taskqueue.NewWorkerServer("task-db:6379")
+ workerServer := taskqueue.NewWorkerServer("task-db:6379", queries)
gameHubs := game.NewGameHubs(queries, taskQueue)
err = gameHubs.RestoreFromDB(ctx)