amark on master
Allow Dockerfile to auto-update⦠(compare)
amark on master
rad fixed dup text, perf, read β¦ (compare)
leaked-handles
is indicating three leaked file handles.'use strict'
const tape = require('tape')
const _test = require('tape-promise').default // <---- notice 'default'
const test = _test(tape) // decorate tape
const Gun = require('gun');
const Sea = require('gun/sea');
require('leaked-handles').set({
fullStack: true, // use full stack traces
timeout: 20000, // run every 5 seconds instead of 5.
debugSockets: true // pretty print tcp thrown exceptions.
});
test('create a key value pair using callbacks', async function (t) {
const gun = Gun();
const value = 'value';
gun.get('key').put({property: value }).once(result => {
t.equal(result.property, value, 'result was what we put in');
gun.get('key').once(result2 => {
t.equal(result2.property, value, 'result2 was what we put in');
setTimeout(function () {
t.ok(true, 'test shold end now');
t.end();
}, 11000)
});
});
});
process.exit()
would that work? Yeah, GUN has HTTP server that stays alive, more than the fs
.gitter
profile pic to something unique, so it is easier for to scan when I check both sites? <3 <3 <3 thanks! Maybe something silly and super obvious (solid color?). Mostly cause gitter/github generates those pixel art avatars for people and they look very similar.unknown handle Socket {
_events: [Object: null prototype] {
listening: [Function],
message: [Function]
},
_eventsCount: 2,
_maxListeners: undefined,
type: 'udp4',
[Symbol(asyncId)]: 22,
[Symbol(state symbol)]: {
handle: UDP {
lookup: [Function: bound lookup4],
onmessage: [Function: onMessage],
[Symbol(owner)]: [Circular]
},
receiving: true,
bindState: 2,
connectState: 0,
queue: undefined,
reuseAddr: true,
ipv6Only: undefined,
recvBufferSize: undefined,
sendBufferSize: undefined
}
}
offline first
.