f.lux f.lux forum
    • Recent
    • Popular
    • Register
    • Login

    BUG: 4.120: Constant polling of file preset.json.

    Windows v4
    2
    2
    130
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      voidp
      last edited by

      F.lux 4.120 for Windows polls the file "preset.json" once per second.

      It's not clear why this is necessary. If f.lux is monitoring the file for changes, it would be preferable for it to establish some kind of callback with the system to be notified of changes rather than open/read/close the file every second.

      On my system, the file is located at: C:\Users<username>\AppData\Local\FluxSoftware\Flux\media\preset.json.

      See: https://stackoverflow.com/questions/931093/how-do-i-make-my-program-watch-for-file-modification-in-c

      1 Reply Last reply Reply Quote 0
      • herfH
        herf
        last edited by

        Thanks - we will fix. This was only supposed to update when you pull down the menu (otherwise it can cache because it's not changing).

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors