poljvd / hyperion-webapp

Colorpicker webapp for Hyperion
19 stars 5 forks source link

No Default Priority Value Results in Priority 890 #7

Open hannes-angst opened 8 years ago

hannes-angst commented 8 years ago

When (re)starting nginx and calling the web page (cleaning the browser's sessions beforehand), the priority is set to 890 (500 is max).

ui

If you leave this setting, no effects will be launched until priority is set manually. One solution would be to set a decent default value like 80 or 120.

bradcornford commented 8 years ago

Hi there,

After looking into the source code, i believe a priority of 500 is set when no session data is available, i.e. after a restart of apache / nginx, as can be seen here: https://github.com/poljvd/hyperion-webapp/blob/master/index.php#L282

I will however take a look to see if i can replicate the issue.