-
Notifications
You must be signed in to change notification settings - Fork 44
Server green mode #333
Comments
Hi @stanislaw55. |
Hi @stanislaw55, |
This addition to the docs was made 3 years ago (ef62a23), it may be time to get rid of it :) The one point that comes to mind is @tiagocoutinho telling me about race conditions in tango when the monitor lock is disabled. If those haven't been fixed, I guess it would justify calling server green mode "experimental" (the word "beta" doesn't appear in the docs by the way). Also, I think there are a few mistakes in this page:
As far as I remember this is not true. The monitor lock is disabled for both the gevent and the asyncio green mode: Lines 1333 to 1334 in 5865b6f
This has been the case since 2015: 803b7e9 Another mistake in the docs:
... but then proceeds with an example of a command spawning a background task and returning immediately: @command
async def long_running_command(self):
loop = asyncio.get_event_loop()
future = loop.create_task(self.coroutine_target()) Also, hi guys :) |
Hi @vxgmichel :) Thanks for the details (and the long memory). I've made a draft PR in the meantime. I'd appreciate if you'd have a look to see if I understand you correctly. The removal of the "experimental" tag is pending @tiagocoutinho's response on the race conditions. |
Hi @ajoubertza, Hi @andygotz When #334 is merged, I think this issue can be closed. |
Hi,
According to docs, TANGO server GreenMode is currently in beta version. Is there any plan to provide stable version of TANGO Device Server GreenMode?
The text was updated successfully, but these errors were encountered: