Skip to content

Conversation

@axeon
Copy link

@axeon axeon commented Nov 23, 2017

之前对于executeInternal全部使用了synchronized,导致在大量用户登录的时候,由于http本身的操作时延,造成大量阻塞,导致系统无法使用。
实际上大量的synchronized 都可以去除,特别对于token的操作,建议由独立进程刷新,也可以通过类似guavaCache的方式,确保token随时可用。

@binarywang binarywang merged commit 920a2f7 into binarywang:develop Nov 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants