View Full Version : A question for Paul about the Watched folders
canard_bleu
02-02-2005, 04:36 PM
Paul,
any reason for the limit of 256 folders in the watch plugin ?
Is it just a performance thing ?
I have written a quick and dirty replacement for my own use (using FindFirstChangeNotification (windows API) ) and it seems happy monitoring 800 folders.
Thanks,
Pierre
madjo
02-02-2005, 08:38 PM
Paul,
any reason for the limit of 256 folders in the watch plugin ?
Is it just a performance thing ?
I have written a quick and dirty replacement for my own use (using FindFirstChangeNotification (windows API) ) and it seems happy monitoring 800 folders.
Thanks,
Pierre
any chance of releasing it? *looks pleadingly* :)
I have hit the limit of 256 already :)
canard_bleu
02-03-2005, 04:37 PM
any chance of releasing it? *looks pleadingly* :)
I have hit the limit of 256 already :)
I haven't got time to work on it at the moment, because of other commitments at work. It just needs a setup screen and code to store and retrieve settings. Anybody fancy finishing it ? (providing Paul confirms that there aren't any performance issues I have overlooked)
(It's in C++)
Tropics
02-03-2005, 05:25 PM
no promises but, i might have some spare time friday/saturday. both tasks you mentioned sound pretty easy for me so yes, if you want to give me the code, i might have a look and release it this weekend.
There is no good reason for the 256 limit. I just scratched that plugin together quick one day, and due to the way it's implemented I was worried that watching too many folder would throw it into a tizzy. I want to create a proper watch plugin, or if there are takers, can release the source to the current one for improvements.
madjo
02-03-2005, 08:06 PM
I'd love to look into the code ;) though I'm not very proficient in coding c++... more of a php/asp kinda guy :D
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.