A web-based collaborative LaTeX editor
Find a file
James Allen 014e3afb36 Don't call sync functions inside async
Calling sync functions inside async can trigger the node max stack size.
Instead, build up our unique list of ids in advance, so we only call a
method in async for each user we actually need to look up, asynchronously.
Then use all the cached values synchronously afterwards.
2017-05-04 17:04:20 +01:00
services/web Don't call sync functions inside async 2017-05-04 17:04:20 +01:00