diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-03-29 20:39:17 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-03-29 20:39:19 -0700 |
commit | fc6ebef14cf3398ac1664b9f585d6ed5e7caf609 (patch) | |
tree | 4ce827ec41368209bbe61793108a6083742df5bd /fatcat_scholar/kafka.py | |
parent | b6ea443af3b1a304a964c19b45c4cbec9e751dc0 (diff) | |
download | fatcat-scholar-fc6ebef14cf3398ac1664b9f585d6ed5e7caf609.tar.gz fatcat-scholar-fc6ebef14cf3398ac1664b9f585d6ed5e7caf609.zip |
don't use async endpoints for sync implementations
Embarassingly, I didn't know this was an option in FastAPI! Knew that
running `await` on a function that was internally doing blocking calls
was really bad, but didn't know the framework had such a simple way to
avoid the problem.
This significantly resolves operational concerns with the current
service.
Diffstat (limited to 'fatcat_scholar/kafka.py')
0 files changed, 0 insertions, 0 deletions