Skip to content

Commit d4dc9f9

Browse files
remove sleep in main
1 parent a649d9e commit d4dc9f9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"fmt"
55
"http-proxy/conf"
66
"http-proxy/router"
7-
"time"
87

98
"os"
109

@@ -17,7 +16,6 @@ func main() {
1716
app := fiber.New()
1817
app.Use(cors.New())
1918

20-
time.Sleep(5 * time.Second)
2119
configuration := conf.GetConfig()
2220
conn, err := memphis.Connect(configuration.MEMPHIS_HOST, configuration.ROOT_USER, configuration.CONNECTION_TOKEN)
2321
if err != nil {

0 commit comments

Comments
 (0)