Add debug.ping endpoint

Optimize exhausted scrolls by using a fixed empty scroll
This commit is contained in:
allegroai
2020-08-10 08:35:34 +03:00
parent baba8b5b73
commit 3f84e60a1f
6 changed files with 34 additions and 13 deletions

6
server/services/debug.py Normal file
View File

@@ -0,0 +1,6 @@
from service_repo import APICall, endpoint
@endpoint("debug.ping")
def ping(call: APICall, _, __):
call.result.data = {"msg": "Because it trains cats and dogs"}