timeout snapshotdatabase call

This commit is contained in:
sramamoorthy 2019-07-02 17:56:04 -07:00 committed by Alex Miller
parent 33c2801944
commit ec9af66fc5
1 changed files with 1 additions and 1 deletions

View File

@ -3584,7 +3584,7 @@ ACTOR Future<Void> snapCreateVersion2(Database inputCx, StringRef snapCmd, UID s
try {
Future<Void> exec = snapshotDatabase(cx, snapPayloadRef, snapUID, snapUID);
wait(exec);
wait(timeoutError(exec, 80.0));
} catch (Error& e) {
TraceEvent("SnapshotDatabaseErrorVersion2")
.detail("SnapCmd", snapCmd.toString())