1. 25 Jan, 2021 3 commits
  2. 20 Jan, 2021 4 commits
  3. 18 Jan, 2021 2 commits
  4. 15 Jan, 2021 8 commits
  5. 14 Jan, 2021 1 commit
  6. 13 Jan, 2021 3 commits
  7. 12 Jan, 2021 1 commit
  8. 09 Jan, 2021 6 commits
  9. 07 Jan, 2021 3 commits
  10. 05 Jan, 2021 5 commits
  11. 22 Dec, 2020 2 commits
  12. 18 Dec, 2020 2 commits
    • Eric Eastwood's avatar
      Make bridged Matrix room batch processing size smaller to avoid cursor timeout · 4c95e3e1
      Eric Eastwood authored
      If our update loop takes more than 10 minutes to process the previous batch size of 100 the cursor can idle timeout
      We are just adjusting the size down so we can process the 25 batch in time and grab the next batch from the cursor.
      
      ```
      { MongoError: Cursor not found, cursor id: 402055493628
          at Function.MongoError.create (/opt/gitter/gitter-webapp/node_modules/mongoose/node_modules/mongodb-core/lib/error.js:31:11)
          at /opt/gitter/gitter-webapp/node_modules/mongoose/node_modules/mongodb-core/lib/connection/pool.js:483:72
          at authenticateStragglers (/opt/gitter/gitter-webapp/node_modules/mongoose/node_modules/mongodb-core/lib/connection/pool.js:429:16)
          at Connection.messageHandler (/opt/gitter/gitter-webapp/node_modules/mongoose/node_modules/mongodb-core/lib/connection/pool.js:463:5)
          at Socket.<anonymous> (/opt/gitter/gitter-webapp/node_modules/mongoose/node_modules/mongodb-core/lib/connection/connection.js:309:22)
          at Socket.emit (events.js:198:13)
          at Socket.EventEmitter.emit (domain.js:448:20)
          at addChunk (_stream_readable.js:288:12)
          at readableAddChunk (_stream_readable.js:269:11)
          at Socket.Readable.push (_stream_readable.js:224:10)
          at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
        name: 'MongoError',
        message: 'Cursor not found, cursor id: 402055493628',
        ok: 0,
        errmsg: 'Cursor not found, cursor id: 402055493628',
        code: 43 } 'MongoError: Cursor not found, cursor id: 402055493628\n    at Function.MongoError.create (/opt/gitter/gitter-webapp/node_modules/mongoose/node_modules/mongodb-core/lib/error.js:31:11)\n    at /opt/gitter/gitter-webapp/node_modules/mongoose/node_modules/mongodb-core/lib/connection/pool.js:483:72\n    at authenticateStragglers (/opt/gitter/gitter-webapp/node_modules/mongoose/node_modules/mongodb-core/lib/connection/pool.js:429:16)\n    at Connection.messageHandler (/opt/gitter/gitter-webapp/node_modules/mongoose/node_modules/mongodb-core/lib/connection/pool.js:463:5)\n    at Socket.<anonymous> (/opt/gitter/gitter-webapp/node_modules/mongoose/node_modules/mongodb-core/lib/connection/connection.js:309:22)\n    at Socket.emit (events.js:198:13)\n    at Socket.EventEmitter.emit (domain.js:448:20)\n    at addChunk (_stream_readable.js:288:12)\n    at readableAddChunk (_stream_readable.js:269:11)\n    at Socket.Readable.push (_stream_readable.js:224:10)\n    at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)'
      ```
      4c95e3e1
    • Eric Eastwood's avatar
      Add executable permissions to util script · 5abd9cdd
      Eric Eastwood authored
      5abd9cdd