Skip to content

Commit 8f18ce3

Browse files
committed
fix: increase processing time for old network to delete
1 parent c9aaea8 commit 8f18ce3

File tree

5 files changed

+212
-210
lines changed

5 files changed

+212
-210
lines changed

internal/core/application/app.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -329,11 +329,11 @@ func createNetwork(cli *client.Client, appName string) (string, error) {
329329
slog.Info("Creating network")
330330
networkName := appName + "_default"
331331

332-
// waiting for 5 seconds, if old network is in deletion process
332+
// waiting for 10 seconds, if old network is in deletion process
333333
// this problem only occur only recreating application
334334
// in that case, old network was not deleted and we try to create a new network already
335-
slog.Info("waiting for 5 seconds, if old network is in deletion process")
336-
time.Sleep(5 * time.Second)
335+
slog.Info("waiting for 10 seconds, if old network is in deletion process")
336+
time.Sleep(10 * time.Second)
337337

338338
nets, err := cli.NetworkList(context.Background(), types.NetworkListOptions{})
339339
if err != nil {

server/rateLimiter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
)
1212

1313
var (
14-
D_MAX = 100 // nolint
14+
D_MAX = 150 // nolint
1515
D_EXPIRATION = 30 * time.Second // nolint
1616
)
1717

server/static/assets/index-0618fb87.js server/static/assets/index-c26e4911.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/static/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
2222
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2323
<title>Meltcd</title>
24-
<script type="module" crossorigin src="/assets/index-0618fb87.js"></script>
24+
<script type="module" crossorigin src="/assets/index-c26e4911.js"></script>
2525
<link rel="stylesheet" href="/assets/index-0a3e86d4.css">
2626
</head>
2727
<body>

0 commit comments

Comments
 (0)