Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Syntax bug.

  • Loading branch information...
commit 44e9d0368cfe24157a80a6042614eb6f08c7cba8 1 parent cea3d1c
@benzenwen benzenwen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  writer.rb
View
2  writer.rb
@@ -40,7 +40,7 @@
uristring = ENV['MONGOLAB_URI'] || 'mongodb://localhost/testdatabase'
debug = ENV['WRITER_DEBUG'] || "false"
rate = ENV['WRITER_RATE'].to_f
-if (rate = 0.0) then rate = 10.0
+if (rate = 0.0) then rate = 10.0 end
uri = URI.parse(uristring)
Please sign in to comment.
Something went wrong with that request. Please try again.