         if @_patched_already
             return
         iterableProto = @query_result.cursor?.__proto__?.__proto__?.constructor?.prototype
-        if iterableProto?.stackSize > 30
+        if iterableProto?.stackSize > 20
             console.log "Patching stack limit on cursors to 30"
-            iterableProto.stackSize = 30
+            iterableProto.stackSize = 20
             @_patched_already = true
 
 

        query_limit: 40
    history: []
    focus_on_codemirror: true

# This class represents the results of a query.
#


r = require('rethinkdb')

DEFAULTS =
    current_query: null
    query_result: null
    cursor_timed_out: true
