Skip to content

Commit

Permalink
ES1-1055 : Increase spawn process timeout
Browse files Browse the repository at this point in the history
Reason for change: Increase timeout from 2s to 10s
Test Procedure: None
Risks: None
Signed-off-by: Nikita Poltorapavlo <[email protected]>
  • Loading branch information
npoltorapavlo committed Apr 12, 2024
1 parent 378b93a commit 4b2951e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PersistentStore/PersistentStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ namespace Plugin {

uint32_t connectionId;

_deviceStore2 = service->Root<Exchange::IStore2>(connectionId, 2000, _T("SqliteStore2"));
_deviceStore2 = service->Root<Exchange::IStore2>(connectionId, RPC::CommunicationTimeOut, _T("SqliteStore2"));
if (_deviceStore2 != nullptr) {
_deviceStore2->Register(&_store2Sink);
_deviceStore2->Register(_store);
Expand All @@ -102,7 +102,7 @@ namespace Plugin {
_deviceStoreLimit = _deviceStore2->QueryInterface<Exchange::IStoreLimit>();
}

_accountStore2 = service->Root<Exchange::IStore2>(connectionId, 2000, _T("GrpcStore2"));
_accountStore2 = service->Root<Exchange::IStore2>(connectionId, RPC::CommunicationTimeOut, _T("GrpcStore2"));
if (_accountStore2 != nullptr) {
_accountStore2->Register(&_store2Sink);
}
Expand Down

0 comments on commit 4b2951e

Please sign in to comment.