progress removing onionr.py

This commit is contained in:
Kevin Froman 2019-08-05 00:25:27 -05:00
parent 0690e9ca0e
commit cbe10f914a
6 changed files with 11 additions and 10 deletions

View file

@ -40,7 +40,6 @@ class PrivateAPI:
This initialization defines all of the API entry points and handlers for the endpoints and errors
This also saves the used host (random localhost IP address) to the data folder in host.txt
'''
time.sleep(0.3)
self.config = config
self.serializer = serializeddata.SerializedData()
self.startTime = epoch.get_epoch()

View file

@ -38,7 +38,6 @@ class PublicAPI:
The new client api server, isolated from the public api
'''
def __init__(self):
time.sleep(1)
app = flask.Flask('PublicAPI')
app.config['MAX_CONTENT_LENGTH'] = 5 * 1024 * 1024
self.i2pEnabled = config.get('i2p.host', False)