about summary refs log tree commit homepage
path: root/lib/mogilefs/mysql.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-11-08 08:35:18 +0000
committerEric Wong <normalperson@yhbt.net>2011-11-08 08:35:18 +0000
commit9bdb7b8ca1016010277a8c5fcc96a97ee82b3558 (patch)
treeda24209b286c891ba7ab376e4b1b8c81089f2981 /lib/mogilefs/mysql.rb
parent145655bde64def9e6149137bbb577778f501d890 (diff)
downloadmogilefs-client-9bdb7b8ca1016010277a8c5fcc96a97ee82b3558.tar.gz
We can use the file_info command to get things faster, now.
Diffstat (limited to 'lib/mogilefs/mysql.rb')
-rw-r--r--lib/mogilefs/mysql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mogilefs/mysql.rb b/lib/mogilefs/mysql.rb
index 4d06bc6..4f0dde8 100644
--- a/lib/mogilefs/mysql.rb
+++ b/lib/mogilefs/mysql.rb
@@ -26,7 +26,7 @@ class MogileFS::Mysql
   ##
   # Lists keys starting with +prefix+ follwing +after+ up to +limit+.  If
   # +after+ is nil the list starts at the beginning.
-  def _list_keys(domain, prefix = '', after = '', limit = 1000, &block)
+  def _list_keys(domain, prefix = '', after = '', limit = 1000)
     # this code is based on server/lib/MogileFS/Worker/Query.pm
     dmid = get_dmid(domain)