Skip to content

Commit d4585db

Browse files
author
Takashi Matsuo
committed
bump the deadline to 1200 for backup and restore
1 parent ce52820 commit d4585db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spanner/cloud-client/backup_sample.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def create_backup(instance_id, database_id, backup_id):
4242
operation = backup.create()
4343

4444
# Wait for backup operation to complete.
45-
operation.result(600)
45+
operation.result(1200)
4646

4747
# Verify that the backup is ready.
4848
backup.reload()
@@ -68,7 +68,7 @@ def restore_database(instance_id, new_database_id, backup_id):
6868
operation = new_database.restore(backup)
6969

7070
# Wait for restore operation to complete.
71-
operation.result(600)
71+
operation.result(1200)
7272

7373
# Newly created database has restore information.
7474
new_database.reload()

0 commit comments

Comments
 (0)