mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-26 19:43:55 +03:00
adds new pingTimeout argument, fixes maxRequestBody
This commit is contained in:
parent
3c44f223f5
commit
767fe79254
|
@ -24,6 +24,7 @@ export interface Options {
|
|||
dbOptions: DbOptions;
|
||||
maxRequestBody: string;
|
||||
logHTTPRequests?: boolean;
|
||||
pingTimeout: number;
|
||||
logLevel: 0 | 1 | 3 | 2;
|
||||
wsEngine: string;
|
||||
}
|
||||
|
@ -59,9 +60,10 @@ export default function getOptions(argv: { [arg: string]: any }): Options {
|
|||
undefined,
|
||||
},
|
||||
dbOptions: dbOptions,
|
||||
maxRequestBody: argv.passphrase || '16mb',
|
||||
maxRequestBody: argv.maxRequestBody || '16mb',
|
||||
logHTTPRequests: argv.logHTTPRequests,
|
||||
logLevel: argv.logLevel || 3,
|
||||
pingTimeout: argv.pingTimeout || 20000,
|
||||
wsEngine:
|
||||
argv.wsEngine || process.env.npm_package_remotedev_wsengine || 'ws',
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user