Skip to content

Commit 2420830

Browse files
committed
AI: Increase timeout for API client requests from 1 to 10 minutes
Signed-off-by: Michael Mayer <michael@photoprism.app>
1 parent e7db7ef commit 2420830

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/ai/vision/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var (
1616
DownloadUrl = ""
1717
ServiceUri = ""
1818
ServiceKey = ""
19-
ServiceTimeout = time.Minute
19+
ServiceTimeout = 10 * time.Minute
2020
ServiceMethod = http.MethodPost
2121
ServiceFileScheme = scheme.Data
2222
ServiceRequestFormat = ApiFormatVision

0 commit comments

Comments
 (0)