Skip to content

Commit

Permalink
rename things
Browse files Browse the repository at this point in the history
  • Loading branch information
freels committed Sep 7, 2010
1 parent 57e437c commit 057f279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/com/twitter/querulous/query/SqlQuery.scala
Expand Up @@ -43,7 +43,7 @@ object NullValues {
}

private object QueryCancellation {
val cancelTimer = new java.util.Timer("Query cancellation timer", true)
val cancelTimer = new java.util.Timer("global query cancellation timer", true)
}

class SqlQuery(connection: Connection, query: String, params: Any*) extends Query {
Expand Down Expand Up @@ -74,7 +74,7 @@ class SqlQuery(connection: Connection, query: String, params: Any*) extends Quer
}

def cancel() {
val cancelThread = new Thread("SQL query cancellation") {
val cancelThread = new Thread("query cancellation") {
override def run() {
try {
// FIXME make duration configurable
Expand Down

0 comments on commit 057f279

Please sign in to comment.