Bump up block sizes in client
This will help amortize the sqlite synchronization costs.
This commit is contained in:
parent
ade27773e6
commit
d752b882f2
|
@ -220,7 +220,7 @@ class StreamInserter(object):
|
|||
# These are soft limits -- actual data might be rounded up.
|
||||
# We send when we have a certain amount of data queued, or
|
||||
# when a certain amount of time has passed since the last send.
|
||||
_max_data = 1048576
|
||||
_max_data = 2 * 1024 * 1024
|
||||
_max_time = 30
|
||||
|
||||
# Delta to add to the final timestamp, if "end" wasn't given
|
||||
|
|
|
@ -400,7 +400,7 @@ class Server(object):
|
|||
'server.socket_host': host,
|
||||
'server.socket_port': port,
|
||||
'engine.autoreload_on': False,
|
||||
'server.max_request_body_size': 4*1024*1024,
|
||||
'server.max_request_body_size': 8*1024*1024,
|
||||
})
|
||||
if self.embedded:
|
||||
cherrypy.config.update({ 'environment': 'embedded' })
|
||||
|
|
Loading…
Reference in New Issue
Block a user