OverviewFilesCommitsIssuesDocsReleasesPeers

keet-cli / keet-core-4.14.4-pretty / lib / core / debug / debugging.js

10 lines · javascript ref:
const e = [
    { key: "disableSwarming", value: !1, description: "Disable swarming" },
    { key: "disableMirrors", value: !1, description: "Disable all mirrors" },
    { key: "disableFastForward", value: !1, description: "Disable fast forward" },
  ],
  r = { concurrency: 10, maxWindow: 80, randomPunchInterval: 2e4, connectionKeepAlive: 5e3 },
  a = new Map()
for (let r = 0; r < e.length; r++) a.set(e[r].key, r)
module.exports = { DEBUG_FLAGS: e, DEBUG_FLAG_INDEX_BY_KEY: a, DHT_SETTINGS: r }