Correct format
This commit is contained in:
parent
38b6540352
commit
32c0b007d8
|
@ -4145,8 +4145,10 @@ int main(int argc, char* argv[]) {
|
|||
// where the fdbbackup command hangs infinitely. 60 seconds should be more than
|
||||
// enough for all cases to finish and 5 retries should also be good enough for
|
||||
// most cases.
|
||||
db->setOption(FDBDatabaseOptions::TRANSACTION_TIMEOUT, Optional<StringRef>(StringRef((const uint8_t*)60000, 8)));
|
||||
db->setOption(FDBDatabaseOptions::TRANSACTION_RETRY_LIMIT, Optional<StringRef>(StringRef((const uint8_t*)5, 8)));
|
||||
db->setOption(FDBDatabaseOptions::TRANSACTION_TIMEOUT,
|
||||
Optional<StringRef>(StringRef((const uint8_t*)60000, 8)));
|
||||
db->setOption(FDBDatabaseOptions::TRANSACTION_RETRY_LIMIT,
|
||||
Optional<StringRef>(StringRef((const uint8_t*)5, 8)));
|
||||
}
|
||||
|
||||
return result.present();
|
||||
|
@ -4167,8 +4169,10 @@ int main(int argc, char* argv[]) {
|
|||
// where the fdbbackup command hangs infinitely. 60 seconds should be more than
|
||||
// enough for all cases to finish and 5 retries should also be good enough for
|
||||
// most cases.
|
||||
sourceDb->setOption(FDBDatabaseOptions::TRANSACTION_TIMEOUT, Optional<StringRef>(StringRef((const uint8_t*)60000, 8)));
|
||||
sourceDb->setOption(FDBDatabaseOptions::TRANSACTION_RETRY_LIMIT, Optional<StringRef>(StringRef((const uint8_t*)5, 8)));
|
||||
sourceDb->setOption(FDBDatabaseOptions::TRANSACTION_TIMEOUT,
|
||||
Optional<StringRef>(StringRef((const uint8_t*)60000, 8)));
|
||||
sourceDb->setOption(FDBDatabaseOptions::TRANSACTION_RETRY_LIMIT,
|
||||
Optional<StringRef>(StringRef((const uint8_t*)5, 8)));
|
||||
}
|
||||
|
||||
return result.present();
|
||||
|
|
Loading…
Reference in New Issue