LIMIT REQUEST waiting



  • hello.

    I have a config file as below. How can i set limit request handling. Example 3 request per seconds. Or 3 request in queue ?

    {
    "httpPort": 5488,
    "reportTimeout": 600000,
    "enableRequestReportTimeout":true,
    "certificate": {
    "key": "cert.key",
    "cert": "cert.crt"
    },
    "logger": {
    "console": { "transport": "console", "level": "error" }
    },
    "allowLocalFilesAccess": true,
    "store": {
    "provider": "memory"
    },
    "blobStorage": {
    "provider": "memory"
    },
    "templatingEngines": {
    "numberOfWorkers" : 8,
    "strategy": "http-server"
    },
    "extensions": {
    "authentication": {
    "cookieSession": {
    "secret": "dainb@0986301253@cenTos",
    "cookie": {
    "secure": true
    }
    },
    "admin": {
    "username": "admin",
    "password": "jsreport@5488"
    },
    "enabled": true
    },
    "chrome-pdf": {
    "timeout": 600000,
    "strategy": "chrome-pool",
    "numberOfWorkers": 8
    }
    }
    }



  • Such a feature isn't implemented in jsreport.
    You need to run jsreport behind a web server like nginx and add request limiting to its config.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.