3liz / py-qgis-server

QGIS embbeded WMS/WFS/WCS asynchronous scalable http server
https://docs.3liz.org/py-qgis-server
Mozilla Public License 2.0
68 stars 16 forks source link

Missing timeout option #8

Closed leoberry closed 4 years ago

leoberry commented 4 years ago

Hello,

I try to use your py-qgis-server, but I've not --timeout option

leo@leo:~/workspace/lizmap/py-qgis-server$ git status
Sur la branche 1.2.x
Votre branche est à jour avec 'origin/1.2.x'.

rien à valider, la copie de travail est propre

Install with pip3 :

leo@leo:~/workspace/lizmap/py-qgis-server$ pip3 install -e .
Obtaining file:///home/leo/workspace/lizmap/py-qgis-server
Requirement already satisfied: PyYAML in /home/leo/.local/lib/python3.7/site-packages (from py-qgis-server==1.2.1) (5.3)
Requirement already satisfied: pyzmq>=17 in /home/leo/.local/lib/python3.7/site-packages (from py-qgis-server==1.2.1) (19.0.0)
Requirement already satisfied: tornado>=5 in /home/leo/.local/lib/python3.7/site-packages (from py-qgis-server==1.2.1) (6.0.4)
Installing collected packages: py-qgis-server
  Found existing installation: py-qgis-server 1.2.1
    Uninstalling py-qgis-server-1.2.1:
      Successfully uninstalled py-qgis-server-1.2.1
  Running setup.py develop for py-qgis-server
Successfully installed py-qgis-server

But...

leo@leo:~/workspace/lizmap/py-qgis-server$ qgisserver --help
usage: qgisserver [-h] [-d] [-c [PATH]] [--version] [-p PORT] [-b IP] [-w NUM]
                  [-j NUM] [-u SETUID] [--rootdir PATH] [--proxy]

qgis/HTTP/0MQ scalable server

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           debug mode
  -c [PATH], --config [PATH]
                        Configuration file
  --version             Return version number and exit
  -p PORT, --port PORT  http port
  -b IP, --bind IP      interface to bind to
  -w NUM, --workers NUM
                        num workers
  -j NUM, --jobs NUM    num server instances
  -u SETUID, --setuid SETUID
                        uid to switch to
  --rootdir PATH        path to qgis projects
  --proxy               run only as proxy
leo@leo:~/workspace/lizmap/py-qgis-server$ 

Have you forget this options?

Thank's for you reply

Léo Berry

dmarteau commented 4 years ago

Hi,

The command line has only a miminum set of options. You may configure the server either by using configuration file with -c option or from environment variables.

See the README file for details.

leoberry commented 4 years ago

I don't see, my bad Thank you