-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SocketIOを使用したオートリロード機能 #1
Comments
「◯秒ごとにフェッチする」でも良さそう |
「閲覧人数が見れたら良いよね」というアイデアを頂いたので、「フェッチする」のではなく、Socket.IOで実装した方が近い形になると思われる。 |
|
|
現在のapp変数をquartapp変数にして、新たなapp変数として |
そうすれば実行コマンドが変わらなくて済む |
コネクトしたらスレッドIDを送るのを待つ リスト内でforすれば送れるから楽だな 今考えてる実装で動くかどうか、そもそもrender.comで動くかどうかは別として |
render.com で動くかどうか は、 SocketIOがWebSocketも使える(みたいなことが書かれている)から、多分大丈夫 |
c925240 で実装 |
76e30ea にてスレッドのオートリロード機能を実装 |
実装OK |
Quartに組み込むのは非常に簡単そう
https://github.com/miguelgrinberg/python-socketio/blob/main/examples/server/asgi/app.py
でも今あるバグを潰さなきゃ...
The text was updated successfully, but these errors were encountered: