1
0

aiorpcx: increase crash reporter timeout, avoid is_running in kivy

This commit is contained in:
Janus
2018-09-06 17:18:26 +02:00
parent 6e80ba7b4f
commit be50394f11
4 changed files with 3 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ class BaseCrashReporter:
report.update(self.get_additional_info())
report = json.dumps(report)
coro = self.do_post(proxy, BaseCrashReporter.report_server + endpoint, data=report)
response = asyncio.run_coroutine_threadsafe(coro, asyncio_loop).result(1)
response = asyncio.run_coroutine_threadsafe(coro, asyncio_loop).result(5)
return response
async def do_post(self, proxy, url, data):