crest-cassia / oacis

http://crest-cassia.github.io/oacis/
46 stars 9 forks source link

Observable mode for Host #607

Open takeshi-uchitane opened 6 years ago

takeshi-uchitane commented 6 years ago

Requirement

Implementation

yohm commented 6 years ago

実際どういう仕様がいいと思います?今はHostにpolling statusのbooleanのフラグがあるだけですが。 pollingをoffにした時に、ジョブ投入を停止してジョブ回収は継続するという仕様に変更するのもありかもしれませんね。

takeshi-uchitane commented 6 years ago

経緯としては,鷹見さんからのリクエストです.競技終了後のデータを回収したいが,次の試合のジョブはまだ実行してほしくないという要望でした.

ジョブ投入を停止してジョブ回収は継続するという仕様に変更する

リモートホストのメンテナンスなどで,アクセスすべきでない時はジョブ回収も停止する機能が必要だと思いますがいかがでしょう?

実装案としては,オンオフボタンでなく,プルダウンメニューに enable observable disable と並べるのが良いかと思っていました.

yohm commented 6 years ago

背景、理解しました。

実装案としては,オンオフボタンでなく,プルダウンメニューに enable observable disable と並べるのが良いかと思っていました.

それならシンプルでいいですね。その方針でやりましょう。 "observable"という名前ですが、もうちょっといいものないかな?"submission_disabled"とか??(微妙だけど)