yamux-js
Version:
[](https://www.npmjs.com/package/yamux-js) [](https://github.com/th-ch/yamux-js) [![GitHub
13 lines (12 loc) • 403 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultConfig = void 0;
const constants_1 = require("./constants");
exports.defaultConfig = {
acceptBacklog: 256,
enableKeepAlive: true,
keepAliveInterval: 30, // In seconds
connectionWriteTimeout: 10, // In seconds
maxStreamWindowSize: constants_1.initialStreamWindow,
logger: console.log,
};