Hello,
I have two dzvents scripts which use the JSON module and run every minute.
If i enabled these two scripts (A and B), A works well but B get an error 'Lua script execution exceeds maximum number of lines'
If i disable A, B works well.
If A run "every 2 minutes" and B "every minute", B get an error only the same minute A is running.
The JSON module seems not purge data between the dzvents scripts running in the same minute.
Do you have an idea to solve this problem?
Lua script execution exceeds maximum number of lines
Moderator: leecollings
- jvdz
- Posts: 2484
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Lua script execution exceeds maximum number of lines
Without really seeing what you are doing with those 2 scripts, my bet would be that the 2 scripts together run longer than 10 seconds.
So when they each run for 6 seconds, they will only generate the error when both ran in the same batch.
So what exactly do these scripts do as you really should try to avoid any long wait times in the event system?
So when they each run for 6 seconds, they will only generate the error when both ran in the same batch.
So what exactly do these scripts do as you really should try to avoid any long wait times in the event system?