comparison OrthancServer/Resources/Configuration.json @ 5017:0d61efc6256c lua-heart-beat

Added Lua OnHeartBeat()
author Alain Mazy <am@osimis.io>
date Mon, 13 Jun 2022 18:54:49 +0200
parents f377d5643538
children e95fadefeb72
comparison
equal deleted inserted replaced
5016:c89ffa13173e 5017:0d61efc6256c
49 49
50 // List of paths to the custom Lua scripts that are to be loaded 50 // List of paths to the custom Lua scripts that are to be loaded
51 // into this instance of Orthanc 51 // into this instance of Orthanc
52 "LuaScripts" : [ 52 "LuaScripts" : [
53 ], 53 ],
54
55 // The period (in seconds) between 2 calls of the "OnHeartBeat"
56 // lua callback. O means the heart beat is disabled.
57 // TODO: text below for Orthanc book:
58 // Note: that the period is not actually the delay between
59 // the end of an execution and the triggering of the next one.
60 // Since there is only one lua context, if other lua code is being
61 // executed, the heart beat might be delayed even more.
62 "LuaHeartBeatPeriod" : 0,
54 63
55 // List of paths to the plugins that are to be loaded into this 64 // List of paths to the plugins that are to be loaded into this
56 // instance of Orthanc (e.g. "./libPluginTest.so" for Linux, or 65 // instance of Orthanc (e.g. "./libPluginTest.so" for Linux, or
57 // "./PluginTest.dll" for Windows). These paths can refer to 66 // "./PluginTest.dll" for Windows). These paths can refer to
58 // folders, in which case they will be scanned non-recursively to 67 // folders, in which case they will be scanned non-recursively to