Re: [pgAdmin][RM5017] Use cheroot as default production server - Mailing list pgadmin-hackers

From Akshay Joshi
Subject Re: [pgAdmin][RM5017] Use cheroot as default production server
Date
Msg-id CANxoLDeEO1_i-C3wQSTHQiMR-fmCbdJbNGabCHp80BuRNVg0_Q@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][RM5017] Use cheroot as default production server  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
List pgadmin-hackers
Thanks, patch applied.

On Tue, Dec 17, 2019 at 3:16 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to use https://pypi.org/project/cheroot/ instead of current flask dev server. cheroot is a stable production ready server. Plus, flask dev server is not recommended for production.
Code is changed to use cheroot only when DEBUG is False, otherwise you the default flask server.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"


--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Use cheroot as default production server for pgAdmin4
Next
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Optimized edit types and properties SQL for table/col