mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-09 07:28:55 -07:00
fix: go back to synchronous image processing
This commit is contained in:
parent
aba2b76def
commit
1a5a6acc95
10 changed files with 58 additions and 168 deletions
|
|
@ -101,8 +101,6 @@ func Run(
|
|||
EnableDeezer: !cfg.DeezerDisabled(),
|
||||
})
|
||||
|
||||
ip := catalog.NewImageProcessor(1)
|
||||
|
||||
userCount, _ := store.CountUsers(ctx)
|
||||
if userCount < 1 {
|
||||
l.Debug().Msg("Creating default user...")
|
||||
|
|
@ -147,7 +145,7 @@ func Run(
|
|||
mux.Use(chimiddleware.Recoverer)
|
||||
mux.Use(chimiddleware.RealIP)
|
||||
// call router binds on mux
|
||||
bindRoutes(mux, &ready, store, mbzC, ip)
|
||||
bindRoutes(mux, &ready, store, mbzC)
|
||||
|
||||
httpServer := &http.Server{
|
||||
Addr: cfg.ListenAddr(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue