Skip to content

Commit 5a3ae85

Browse files
committed
fixup
Tool: gitpod/catfood.gitpod.cloud
1 parent 2aa2299 commit 5a3ae85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/server/src/authorization/spicedb.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ export class SpiceDBClientProvider {
100100
clientOptions: new TrustedValue(clientOptions),
101101
});
102102

103-
// close client after 10s to make sure most pending requests on the previous client are finished.
103+
// close client after 2 minutes to make sure most pending requests on the previous client are finished.
104104
setTimeout(() => {
105105
this.closeClient(oldClient);
106-
}, 10 * 1000);
106+
}, 2 * 60 * 1000);
107107
}
108108
this.clientOptions = clientOptions;
109109
// `createClient` will use the `DefaultClientOptions` to create client if the value on Feature Flag is not able to create a client

0 commit comments

Comments
 (0)