Browse Source

Fixed issue in UpdateWorlds where Update used when it should be UpdateAll.

Kevin Howard 12 years ago
parent
commit
84d978b520
2 changed files with 3 additions and 1 deletions
  1. 1 1
      servicestack/src/Model/World.cs
  2. 2 0
      servicestack/src/SelfHost/Program.cs

+ 1 - 1
servicestack/src/Model/World.cs

@@ -55,7 +55,7 @@ namespace ServiceStackBenchmark.Model
             });
 
             // update the dataase with the above changes
-            db.Update<World>(worlds);
+            db.UpdateAll<World>(worlds);
 
             // return updated collection
             return worlds;

+ 2 - 0
servicestack/src/SelfHost/Program.cs

@@ -17,6 +17,8 @@ namespace ServiceStackBenchmark.SelfHost
                 try
                 {
                     appHost.Init();
+
+                    // TODO: switch to Start after the next ServiceStack deployment (added to framework on commit #806)
                     appHost.StartListening(listeningOn);
                 }
                 catch (Exception ex)