Skip to content

Commit

Permalink
fix executor delay
Browse files Browse the repository at this point in the history
  • Loading branch information
bbSnavy committed Nov 11, 2024
1 parent b99927b commit e31b947
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"io"
"log"
"net/http"
"time"

"github.com/gorilla/websocket"
"github.com/heartbytenet/bblib/collections/generic"
Expand Down Expand Up @@ -75,7 +74,7 @@ func (server *Server) Addr() string {
}

func (server *Server) Run() (err error) {
err = server.executor.Start(time.Millisecond * server.settings.ExecutorDelay)
err = server.executor.Start(server.settings.ExecutorDelay)
if err != nil {
log.Fatalln("failed at starting executor:", err)
}
Expand Down

0 comments on commit e31b947

Please sign in to comment.