Commit Graph

4 Commits

Author SHA1 Message Date
Giacomo Vercesi fae6f6625f Add extra command line options to 'revng daemon'
--production runs the server on all interfaces and with debug options
disabled
--hypercorn-args allows to pass extra options to hypercorn when running
revng daemon
2022-05-03 10:57:37 +02:00
Giacomo Vercesi cf05ab0463 Substitute Flask with Starlette
In the future we will need to use GraphQL subscriptions. This is done
via websockets and is supported in Ariadne. However this support is
limited to ASGI frameworks, which Flask isn't a part of.
Startlette is a direct depencency of Ariadne, and all of Ariadne's
features are fully integrated with Starlette, so the switch allows to
drop some Flask integration cruft and streamline the revng.daemon
package.
2022-05-03 10:57:21 +02:00
Giacomo Vercesi 43c0c339a2 Fix daemon test
Fix termination of the daemon process during test, previously it was
the daemon instances were not cleaned up properly and remained running
after the tests
2022-05-03 10:55:04 +02:00
Giacomo Vercesi 4f7908753e Introduce the revng-daemon command 2022-04-26 15:59:35 +02:00