From d7b7ceb12222cba78855f7e9163ab68341c95a3c Mon Sep 17 00:00:00 2001 From: Daniel Mason Date: Thu, 12 Aug 2021 21:23:48 +1200 Subject: [PATCH] Re-enable workers --- cmd/go-scrobble/main.go | 4 ++-- web/src/Pages/Track.js | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/cmd/go-scrobble/main.go b/cmd/go-scrobble/main.go index 8e6b69d6..d7dfcf0b 100644 --- a/cmd/go-scrobble/main.go +++ b/cmd/go-scrobble/main.go @@ -75,8 +75,8 @@ func main() { defer goscrobble.CloseRedisConn() // Start background workers - // go goscrobble.StartBackgroundWorkers() - // defer goscrobble.EndBackgroundWorkers() + go goscrobble.StartBackgroundWorkers() + defer goscrobble.EndBackgroundWorkers() // Boot up API webserver \o/ goscrobble.HandleRequests(port) diff --git a/web/src/Pages/Track.js b/web/src/Pages/Track.js index 4415056e..9a51dd66 100644 --- a/web/src/Pages/Track.js +++ b/web/src/Pages/Track.js @@ -74,17 +74,18 @@ const Track = (route) => { return (
+

+ {track.name} +

-

- {track.name} -

- + + {artists}
- + {albums} {track.name}