Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit58c4ff5

Browse files
committed
bump timeouts
1 parentdeeb78b commit58c4ff5

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

‎Coder-Desktop/VPNLib/FileSync/FileSyncDaemon.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ public class MutagenDaemon: FileSyncDaemon {
4343
privateletmutagenDataDirectory:URL
4444
privateletmutagenDaemonSocket:URL
4545

46-
// Managing sync sessionscan take a while, especially with prompting
47-
letsessionMgmtReqTimeout:TimeAmount=.seconds(5)
46+
// Managing sync sessionscould take a while, especially with prompting
47+
letsessionMgmtReqTimeout:TimeAmount=.seconds(15)
4848

4949
// Non-nil when the daemon is running
5050
varclient:DaemonClient?

‎Coder-Desktop/VPNLib/FileSync/FileSyncManagement.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ public extension MutagenDaemon {
5151
}
5252
}
5353
do{
54-
_=tryawait client!.sync.create(req, callOptions:.init(timeLimit:.timeout(sessionMgmtReqTimeout)))
54+
// The first creation will need to transfer the agent binary
55+
// TODO: Because this is pretty long, we should show progress updates
56+
// using the prompter messages
57+
_=tryawait client!.sync.create(req, callOptions:.init(timeLimit:.timeout(sessionMgmtReqTimeout*4)))
5558
}catch{
5659
throw.grpcFailure(error)
5760
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp