Replies: 1 comment 1 reply
-
不会同时发送请求,这是串行的 不过太多书的话确实可能会有问题,坚果云限制是30分钟600次请求,一般情况都是够用的 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
当前的书籍进度同步,是上传一个书籍的进度jsonObject,然后同步时下载一个书籍一个书籍的下载。
如果有1000本书,在打开手机时会同时发送1000个网络请求。导致app变慢,而且1000个请求大多数会因为以下原因失败:
Too many requests are received recently
所以可以上传全部书籍的jsonArray,这样下载时,只需要一个网络请求包含所有的书籍
Beta Was this translation helpful? Give feedback.
All reactions