public
Description: General Ruby extensions for DataMapper and DataObjects
Homepage:
Clone URL: git://github.com/sam/extlib.git
Changed the pool_size to 20 if executing specs on JRuby
myabc (author)
Sat Jun 14 11:33:01 -0700 2008
commit  59b51a3c224767122455027bbe56ca513029303f
tree    77a30f522cb1b3e22f4f807b014c6918bc288e13
parent  06a1c4073d2d954a7943f8bda8d63521ae0cb578
...
55
56
57
58
 
 
 
 
 
 
59
60
61
...
55
56
57
 
58
59
60
61
62
63
64
65
66
0
@@ -55,7 +55,12 @@ describe "Extlib::Pooling" do
0
       end
0
 
0
       def self.pool_size
0
-        2
0
+        pool_size = if RUBY_PLATFORM =~ /java/
0
+          20
0
+        else
0
+          2
0
+        end
0
+        pool_size
0
       end
0
 
0
       def dispose

Comments