We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa2299 commit 5a3ae85Copy full SHA for 5a3ae85
components/server/src/authorization/spicedb.ts
@@ -100,10 +100,10 @@ export class SpiceDBClientProvider {
100
clientOptions: new TrustedValue(clientOptions),
101
});
102
103
- // close client after 10s to make sure most pending requests on the previous client are finished.
+ // close client after 2 minutes to make sure most pending requests on the previous client are finished.
104
setTimeout(() => {
105
this.closeClient(oldClient);
106
- }, 10 * 1000);
+ }, 2 * 60 * 1000);
107
}
108
this.clientOptions = clientOptions;
109
// `createClient` will use the `DefaultClientOptions` to create client if the value on Feature Flag is not able to create a client
0 commit comments