The nexuslua function getconfig returns a table that is meant to be used as global configuration for all running agents. The sub table internal contains entries that are used by nexuslua internally. Currently there are three entries:
- luaStartNewThreadTime contains the default time after an agent will create a new operating system thread to distribute its workload, until at most as many threads are running for this agent as specified in the message that is currently processed.
- logMessages after setting this to true, all nexuslua messages for newly created agents will be logged to "nexuslua.log" in the user folder
- logReplication after setting this to true, each time an agent is replicated (creating a new thread) a corresponding log entry is created in file "nexuslua.log" in the user folder
See setconfig for an example.
Also see