git ssb

4+

Dominic / scuttlebot



Commit e9fe5ee7d92e5d7630dba1dccd675875968d643e

Merge branch 'offline-mode'

Dominic Tarr committed on 11/26/2016, 3:04:47 PM
Parent: b64bd48050d244b93cd5c11613ac7c5e00a51612
Parent: d06669ad6f6bfbbd8fef97b6e36fec7f5e505483

Files changed

plugins/gossip/init.jschanged
plugins/gossip/init.jsView
@@ -2,8 +2,9 @@
22 var pull = require('pull-stream')
33 var ref = require('ssb-ref')
44
55 module.exports = function (gossip, config, server) {
6 + if (config.offline) return void console.log("Running in offline mode: gossip disabled")
67
78 // populate peertable with configured seeds (mainly used in testing)
89 var seeds = config.seeds
910

Built with git-ssb-web