major refactoring :/
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m56s
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m56s
This commit is contained in:
3
main.go
3
main.go
@@ -173,11 +173,10 @@ func main() {
|
||||
// if local
|
||||
//syncedPool.AddRemote("localhost")
|
||||
|
||||
rpcHandler, err := NewGrainHandler(app.pool, ":1337")
|
||||
_, err = NewGrainHandler(app.pool, ":1337")
|
||||
if err != nil {
|
||||
log.Fatalf("Error creating handler: %v\n", err)
|
||||
}
|
||||
go rpcHandler.Serve()
|
||||
|
||||
go func() {
|
||||
for range time.Tick(time.Minute) {
|
||||
|
||||
Reference in New Issue
Block a user