diff options
author | randomdan <randomdan@localhost> | 2012-04-25 19:16:53 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2012-04-25 19:16:53 +0000 |
commit | a97481ee2b0fe04a6343928150b6fea6de9c8f00 (patch) | |
tree | 821a7b4ffd23c18009237e2fb7ed818282fee4d1 /project2/cgi | |
parent | Unlinking cache file invalidates cache (bug18) (diff) | |
download | project2-a97481ee2b0fe04a6343928150b6fea6de9c8f00.tar.bz2 project2-a97481ee2b0fe04a6343928150b6fea6de9c8f00.tar.xz project2-a97481ee2b0fe04a6343928150b6fea6de9c8f00.zip |
Check presenter caches are at least as new as their source scripts (bug17)
Diffstat (limited to 'project2/cgi')
-rw-r--r-- | project2/cgi/cgiStagePresent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/cgi/cgiStagePresent.cpp b/project2/cgi/cgiStagePresent.cpp index 9574e84..b6bb11e 100644 --- a/project2/cgi/cgiStagePresent.cpp +++ b/project2/cgi/cgiStagePresent.cpp @@ -23,7 +23,7 @@ CgiApplicationEngine::PresentStage::run() runChecks(); PresenterCaches backFill; BOOST_FOREACH(const PresenterCachePtr & pc, caches) { - if (pc->check()) { + if (pc->check(root->script->modifiedTime())) { CacheHitStage * chs = new CacheHitStage(root, pc); chs->caches = backFill; return NextStage(NULL, chs, pc, NULL); |