This seems to be a really important part of the system, but I don't know what it does.
|
3
|
I'm posting this answer here as a placeholder. I expect to come back and edit this question. If you get to this page and any of this confuses you, leave a comment or post an answer and I'll come back and clarify [Rich] The FogBugz Maintenance Service runs every 15 seconds. It is responsible for doing all the work that is not done by a user in the web interface. For instance, if someone sends you an email, you want FogBugz to import it in the background. The service customarily hits the heartbeat.asp page on the FogBugz web site. You can load this page in a browser to do the exact same thing the service does, but be careful of conflicting with its operation. If you load heartbeat.asp in your browser and see the message
You should only click the link to break the lock if you know the maintenance service is not running. The loading of the heartbeat page does the following list of tasks. Some of them are not run every heartbeat, like daily tasks. Some of them might not be fully completed in one heartbeat, like search indexing. If heartbeat completes all the work it needs to do, it returns a single minus sign (-). If there's more work to be done, it returns a (+). The service adjusts how frequently it comes back based on this + or -, and based on how long the page took to load. If the page took a long time to load, the service will wait a while before coming back. That's because we don't want to compete with users for system resources. Here's a list of what the heartbeat does:
|
|||
|
|
|
1
|
DEBUGGING Available as of FogBugz 7.1.8. If you're debugging this service, use the following flags to skip a given part of heartbeat. These flags can be set in the registry, as strings, REG_SZ (HKLM\SOFTWARE\Fog Creek Software\FogBugz\c:/yourfogbugz/website) or as a part of the request to heartbeat (e.g. http://localhost/heartbeat.asp?fSkipDailyTasks=1&fSkipFulltextIndexer=1). Here's a list off all available flags:
Heartbeat will skip a given step if the flag is to true in either location (e.g. heartbeat will still skip daily tasks, if fSkipDailyTasks is "1" in the registry and "0" in the request or vice versa). |
|||
|
|