Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/HelloZeroNet/ZeroNet
/ onInternetOffline
Method
onInternetOffline
src/Connection/ConnectionServer.py:347–349 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
345
self.log.info(
"Internet online"
)
346
347
def
onInternetOffline(self):
348
self.had_external_incoming = False
349
self.log.info(
"Internet offline"
)
350
351
def
getTimecorrection(self):
352
corrections = sorted([
Callers
1
checkConnections
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected