mirror of
https://github.com/unraid/api.git
synced 2026-01-13 20:19:56 -06:00
fix: lower ka to prevent socket stalling
This commit is contained in:
@@ -400,7 +400,7 @@ export const graphql = {
|
||||
types,
|
||||
resolvers,
|
||||
subscriptions: {
|
||||
keepAlive: 30000,
|
||||
keepAlive: 10000,
|
||||
onConnect: async (connectionParams: Record<string, string>) => {
|
||||
const apiKey = connectionParams['x-api-key'];
|
||||
const user = await apiKeyToUser(apiKey);
|
||||
|
||||
Reference in New Issue
Block a user