Skip to content
Browse files

Added a forced 1 second delay to the AJAX request to simulate slow se…

…rvers
  • Loading branch information...
1 parent e0138a9 commit 0042988039fc3aa6b7d67c2d0f5cccd4dd12d593 @pauljz pauljz committed Apr 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 AutomationTestbed/Controllers/FormsController.cs
View
2 AutomationTestbed/Controllers/FormsController.cs
@@ -50,6 +50,8 @@ public ActionResult AutoCompleteData(String q)
data.Add(new { Name = builder.ToString() });
builder.Clear();
}
+
+ System.Threading.Thread.Sleep(1000);
return Json(data);
}

0 comments on commit 0042988

Please sign in to comment.
Something went wrong with that request. Please try again.