[sr-dev] [tracker] Comment added: app_lua: add rpc reload command

sip-router bugtracker at sip-router.org
Tue Mar 19 19:05:12 CET 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#270 - app_lua: add rpc reload command
User who did this - Víctor Seva (linuxmaniac)

----------
> It is not yet clear how you structured the global version per loaded script vs local version, probably I need more time to analyze the patch.

The idea is that every script begins with version 0. When app_lua.reload command is called the shared var|s is|are incremented.
When a child has to run a method, it compares his loaded version ( private memory ) with the shared var for each script loaded.
If the variables are not equal the script is reloaded and the local loaded version is updated.

I hope this is clear enough.
----------

More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=270#comment791

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list