mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added CIRA timeout
This commit is contained in:
parent
08e6a4302e
commit
202f7c7e6a
11 changed files with 49 additions and 34 deletions
|
@ -15,12 +15,12 @@ module.exports.CreateSwarmServer = function (parent, db, args, certificates) {
|
|||
obj.certificates = certificates;
|
||||
obj.legacyAgentConnections = {};
|
||||
obj.migrationAgents = {};
|
||||
var common = require('./common.js');
|
||||
var net = require('net');
|
||||
var tls = require('tls');
|
||||
var forge = require('node-forge');
|
||||
const common = require('./common.js');
|
||||
const net = require('net');
|
||||
const tls = require('tls');
|
||||
const forge = require('node-forge');
|
||||
|
||||
var LegacyMeshProtocol = {
|
||||
const LegacyMeshProtocol = {
|
||||
NODEPUSH: 1, // Used to send a node block to another peer.
|
||||
NODEPULL: 2, // Used to send a pull block to another peer.
|
||||
NODENOTIFY: 3, // Used to indicate the node ID to other peers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue