Skip to content

Commit

Permalink
fixed #40 use lock mode
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias van der Vlies <mvdvlies@gmail.com>
  • Loading branch information
killdashnine committed Dec 15, 2011
1 parent 31cfd6a commit 44d6488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/core/LogGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public String doJobWithResult() throws Exception {
final String line = bufferedReader.readLine();
if (line == null) {
// timeout
Thread.sleep(500);
Thread.sleep(50);
}
else {
return JavaExtensions.escapeHtml(line) + "<br/>";
Expand Down
2 changes: 1 addition & 1 deletion conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ http.port=9090
java.source=1.6

# Database settings
db.url=jdbc:h2:mem:play;MODE=MYSQL
db.url=jdbc:h2:mem:play;MODE=MYSQL;LOCK_MODE=0
hibernate.globally_quoted_identifiers=true
jpa.ddl=update

Expand Down

0 comments on commit 44d6488

Please sign in to comment.