32
मुझे त्रुटि मिलती है:ActiveRecord में अधिकतम पूल आकार कैसे बढ़ाएं?
Error "ActiveRecord::ConnectionTimeoutError - could not obtain a database connection within 5 seconds. The max pool size is currently 5; consider increasing it."
मैं अधिकतम पूल आकार कैसे बढ़ा सकता हूं?
# DB CONNECTION
DB_CONN = ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :dbfile => DB_FILE)
मेरे गलती है, यह काम किया। मैंने अभी जोड़ा: पूल => [int] धन्यवाद। –
@PrakashRaman मैं आपकी टिप्पणियों को समझ नहीं पा रहा हूं। आपको 'पूल => [int] 'का उपयोग कहां करना था? ऐसा लगता है रूबी कोड वाईएएमएल नहीं है। – lulalala