Uploaded image for project: 'MariaDB Connector/node.js'
  1. MariaDB Connector/node.js
  2. CONJS-126

set session query timeout per option

    XMLWordPrintable

    Details

      Description

      There is actually an option 'timeout' that can be set on query level.

      Goal of this task is to define query timeout on connection level (session level), like some other driver do :

      mssql: ConnectionPool(

      {requestTimeout: 3000}

      )
      db = new pg.Client(

      { ..., query_timeout: 1000 }

      )

        Attachments

          Activity

            People

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: