Permalink
Browse files

Updating WebBackgrounder to v0.2

  • Loading branch information...
pranavkm committed Aug 21, 2012
1 parent 9199584 commit a7b69b7c667dc295e7c35095f36f2ef0dae06ab7
Showing with 10 additions and 9 deletions.
  1. +2 −3 Facts/Facts.csproj
  2. +1 −1 Facts/packages.config
  3. +4 −1 Website/App_Start/AppActivator.cs
  4. +2 −3 Website/Website.csproj
  5. +1 −1 Website/packages.config
View
@@ -98,9 +98,8 @@
<Reference Include="WebActivator, Version=1.4.4.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\WebActivator.1.4.4\lib\net40\WebActivator.dll</HintPath>
</Reference>
- <Reference Include="WebBackgrounder, Version=0.1.0.0, Culture=neutral, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\WebBackgrounder.0.1\lib\net40\WebBackgrounder.dll</HintPath>
+ <Reference Include="WebBackgrounder">
+ <HintPath>..\packages\WebBackgrounder.0.2.0\lib\net40\WebBackgrounder.dll</HintPath>
</Reference>
<Reference Include="WebBackgrounder.EntityFramework, Version=0.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\WebBackgrounder.EntityFramework.0.1\lib\net40\WebBackgrounder.EntityFramework.dll</HintPath>
View
@@ -11,7 +11,7 @@
<package id="MvcHaack.Ajax" version="1.1" />
<package id="Nuget.Core" version="2.0.0-alpha001" />
<package id="WebActivator" version="1.5" />
- <package id="WebBackgrounder" version="0.1" />
+ <package id="WebBackgrounder" version="0.2.0" targetFramework="net40" />
<package id="WebBackgrounder.EntityFramework" version="0.1" />
<package id="xunit" version="1.9.0.1566" />
<package id="xunit.extensions" version="1.9.0.1566" />
@@ -62,7 +62,10 @@ private static void BackgroundJobsPostStart()
new LuceneIndexingJob(TimeSpan.FromMinutes(10), timeout: TimeSpan.FromMinutes(2)),
};
var jobCoordinator = new WebFarmJobCoordinator(new EntityWorkItemRepository(() => new EntitiesContext()));
- _jobManager = new JobManager(jobs, jobCoordinator);
+ _jobManager = new JobManager(jobs, jobCoordinator)
+ {
+ RestartSchedulerOnFailure = true
+ };
_jobManager.Fail(e => ErrorLog.GetDefault(null).Log(new Error(e)));
_jobManager.Start();
}
View
@@ -184,9 +184,8 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\WebActivator.1.4.4\lib\net40\WebActivator.dll</HintPath>
</Reference>
- <Reference Include="WebBackgrounder, Version=0.1.0.0, Culture=neutral, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\WebBackgrounder.0.1\lib\net40\WebBackgrounder.dll</HintPath>
+ <Reference Include="WebBackgrounder">
+ <HintPath>..\packages\WebBackgrounder.0.2.0\lib\net40\WebBackgrounder.dll</HintPath>
</Reference>
<Reference Include="WebBackgrounder.EntityFramework, Version=0.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
View
@@ -33,7 +33,7 @@
<package id="RouteMagic" version="1.1.3" />
<package id="T4MVC" version="2.6.64" />
<package id="WebActivator" version="1.4.4" />
- <package id="WebBackgrounder" version="0.1" />
+ <package id="WebBackgrounder" version="0.2.0" targetFramework="net40" />
<package id="WebBackgrounder.EntityFramework" version="0.1" />
<package id="WindowsAzure.Storage" version="1.6" />
<package id="ZeroClipboard" version="1.0.7" />

0 comments on commit a7b69b7

Please sign in to comment.