mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 21:52:19 +00:00
Re-enable workers
This commit is contained in:
parent
f914575e09
commit
d7b7ceb122
2 changed files with 8 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue