Commit Graph

12 Commits

Author SHA1 Message Date
zolliker 1201801170 break busy loop blocking the server
- Use gevent.sleep with a tiny value after a message has been
  received instead of no call to sleep at all. This was the
  reason for the webserver to block when used with prep8
  and the leiden dil with a lot of data
- move gevent.monkey.patch_all() to secop-webserver
- properly close clients
2026-05-04 13:19:33 +02:00
zolliker ba4bed7275 improve comment 2026-03-26 16:40:16 +01:00
zolliker 62823899bb change update mechanism
Atoring just updates on the SecopInteractor does not work
properly, as these updates depend on what the clients have already.
As updates are polled internall anyway, store onm each client
the state of the parameters it has looked up already and emit
changes values only.
2026-03-20 11:49:00 +01:00
zolliker 0343a76079 followup fix: node map must be updated before registering callbacks 2026-03-19 11:41:00 +01:00
zolliker 51bd8c2c4c node map must be rebuilt for reconnected clients 2026-03-19 11:36:18 +01:00
zolliker 0e8ad84570 change sys.path
+ some other stuff
2026-02-18 16:43:19 +01:00
zolliker 5c70017238 fix simple command (e.g. stop) 2025-05-13 11:10:27 +02:00
zolliker 27f60e1187 report status and target in update_main
+ add SECoP commands [WIP]
+ fix case 4 (error icon) in updateStatus (SEAWebClientCommunication.js)
2025-05-02 10:39:18 +02:00
l_samenv 9f5ae58b9b rework of the server side
main change: the same server may be used for several instruments

- client classes are 'Interactors' dealing with the parameters etc.
- methods from history are added to the clients
+ improvements on the js client side
2025-03-19 08:37:58 +01:00
zolliker 2c59e37074 major rework
using influxdb structure independed of nicos cache
2025-03-18 14:14:45 +01:00
zolliker dc887e68d5 move get_abs_time to base.py
+ initialize Instrument().clients
2024-10-23 16:34:55 +02:00
l_samenv b07ca0bd4f restructure code and use frappy.client for SECoP
- separation of SECoP part from webserver
- use frappy client instead of own code for SECoP communication
2024-10-23 11:13:40 +02:00