Uploaded image for project: 'FTS'
  1. FTS
  2. FTS-883

Wrong condition on reapStalledTransfers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: fts 3.6.1
    • Fix Version/s: fts 3.6.2
    • Component/s: MySQL, Server
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • Labels:
      None

      Description

      Unable to find source-code formatter for language: cpp. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
      if (isNullParams != soci::i_null) {
          timeout = transfer.getProtocolParameters().timeout;
          if(timeout != 0) {
              timeout = 7200;
          }
          else {
              timeout += 3600;
          }
      }
      

      That condition is wrong. It should be "if timeout == 0". This is causing an effective timeout of 2 hours for all transfers. This was probably hidden before because of the 4000 hardcoded limit.

        Attachments

          Activity

            People

            • Assignee:
              aalvarez Alejandro Alvarez Ayllon
              Reporter:
              aalvarez Alejandro Alvarez Ayllon
              Component Watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: