5da4287b37fd90e1eb7f4c13e5dc8b8f49a07a00 galt Wed May 9 09:13:41 2012 -0700 adding lazarus keepalive call to prevent apoptosis from terminating a legitimately busy long-running process diff --git src/hg/inc/web.h src/hg/inc/web.h index a143ba8..e236dfc 100644 --- src/hg/inc/web.h +++ src/hg/inc/web.h @@ -267,16 +267,19 @@ // NOTE: png, jpg and gif should also be supported but are untested. char *webTimeStampedLinkToResourceOnFirstCall(char *fileName, boolean wrapInHtml); // If this is the first call, will // Return full path of timestamped link to the requested resource file (js, or css). Free after use. // else returns NULL. Useful to ensure multiple references to the same resource file are not made // NOTE: png, jpg and gif should also be supported but are untested. boolean webIncludeResourcePrintToFile(FILE * toFile, char *fileName); // Converts fileName to web Resource link and prints the html reference // This only prints and returns TRUE on first call for this resource. // Passing in NULL as the file pointer results in hPrintf call // The reference will be to a link with timestamp. #define webIncludeResourceFile(fileName) webIncludeResourcePrintToFile(NULL,fileName) +void lazarusLives(unsigned long newExpireSeconds); +/* Long running process requests more time */ + #endif /* WEB_H */