Plugin Developer DiscussionDiscussion for FogBugz Plugin developers |
||
FogBugz takes 30 seconds or even more to generate the first page after it loads a new build of my plugin. The CPU is 100% busy. Then, subsequent pages are generated quickly and everything runs smoothly.
I would like to understand what causes this: a problem in FogBugz installation? Something in my code? It's a pain having to wait 30 seconds after each minimal change in the code... In case it helps, the maintenance service is not running (I don't know why it stopped). Ciao Marco
Hm, it definitely shouldn't be that slow. When I upload a new version of your plugin it only takes a few seconds.
How are you uploading your plugin? If you download a plugin from the Plugin Gallery and install it the same way, does it take 30 seconds? What other plugins do you have installed? When a new plugin is uploaded we have to reload all the plugins, so you could try deleting all the other plugins.
I think I isolated the problem. When the plugin is built by our Linux build machine, it gets loaded in few seconds.
When built by Visual Studio on my computer, it takes a lot of time. The difference is that in this case the "static" folder contains files and folders produced by Flex Builder, not needed to build the plugin. If I remove these files and folders before building the plugin, then the upload goes at normal speed. I guess that FogBugz doesn't like that garbage... Are subfolders allowed in the "static" folder? Ciao Marco
Yes subfolders should be fine. If the files are very large then this could be a problem, since FogBugz does some work to inspect them, then upload them and zip them. You could try modifying your build script to either not copy the files, or delete them after they are copied.
|
Powered by FogBugz