Skip to content

Commit 809998e

Browse files
committed
Increase IP assignment timeout
1 parent 04c5245 commit 809998e

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ node_modules
55
.env_backup
66
public
77
sqlite.db
8+
test/integration.js

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ inputs:
3232
floating-ip-assignment-timeout:
3333
description: "Gives Hetzner some time (in Ms) to assign an IP to a server."
3434
required: false
35-
default: 10000
35+
default: 30000
3636

3737
runs:
3838
using: 'node12'

dist/clean/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async function deploy() {
8787

8888
try {
8989
online = await periodicExecution(fn, true, options.timeout);
90-
} catch(err) {
90+
} catch (err) {
9191
if (err instanceof TimeoutError) {
9292
online = false;
9393
} else {

dist/deploy/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async function deploy() {
9292

9393
try {
9494
online = await periodicExecution(fn, true, options.timeout);
95-
} catch(err) {
95+
} catch (err) {
9696
if (err instanceof TimeoutError) {
9797
online = false;
9898
} else {

lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async function deploy() {
5858

5959
try {
6060
online = await periodicExecution(fn, true, options.timeout);
61-
} catch(err) {
61+
} catch (err) {
6262
if (err instanceof TimeoutError) {
6363
online = false;
6464
} else {

0 commit comments

Comments
 (0)