Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iiBOl-0007N6-Bz for pgadmin-hackers@arkaria.postgresql.org; Fri, 20 Dec 2019 06:04:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iiBOj-0002ua-73 for pgadmin-hackers@arkaria.postgresql.org; Fri, 20 Dec 2019 06:04:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iiBOi-0002sv-QD for pgadmin-hackers@lists.postgresql.org; Fri, 20 Dec 2019 06:04:25 +0000 Received: from mail-io1-xd43.google.com ([2607:f8b0:4864:20::d43]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iiBOf-0005Q3-EW for pgadmin-hackers@postgresql.org; Fri, 20 Dec 2019 06:04:24 +0000 Received: by mail-io1-xd43.google.com with SMTP id r13so8262317ioa.3 for ; Thu, 19 Dec 2019 22:04:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=M6my1g+qQM4X+gC4Np1DVAw0hMFCCUjzS0Sx40z3imo=; b=0JMpeZTkXql5WQoB+JIB2dfM5QspWcmJ2VAd2llgHNcdscHAdKzJuGaIjS01qRjlK8 n/M3DoKcliVrRMHJvUp4vNLV0opq3K5QHyHTzszUMa1aojZegnNjnezIwU06VawW5Iqw lndcO6nNNlIdZ19L//Yk2z2BeZL4kiE58ChGP/KIaei+N0vSpH4LpKJlBUAlzyAhAxKC 7wmtrDJz8fxjYNoD6zZEKAcC/a/upR49CFWwBqLLviBkZi7NgYw2YVE3YvrIdPwVyMld hyUY901N6CHOx/GdZrvCXs7GOVs5M1yEJyciOa5d9mTdRFVeMfN39Sdk9rEFKEyyb8EB MTOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M6my1g+qQM4X+gC4Np1DVAw0hMFCCUjzS0Sx40z3imo=; b=tP67v5GzKzHMeUFQmzAzIndmI73bvMuar2/TbVngSiYbzdVjs/Nl7162SElP24nt6l Yf2G1/K5uZX52rGW/C5sSLrSPr+kIni6AKOsv2CDGzzYYIicvwjB3gnwA2V22JAE4MBN 9iX+b00NbazhCKmmgXZvuxsMApWNDX8rci6dWROJUjh0ddahB6y4cF31rmjj4vUtge9o siD92oX8EnCP/0daSHNJNrsILL7n2M2AhLLFRHTiNMV8dfMGmhd79jG+9BXefT4p91DN TkIGeJN2eIfgKWab7ULbVmy3/6HF1eRb0RXcpaXhSh9/9FdThBZ3mNfC7czUILO3q14Y mxPQ== X-Gm-Message-State: APjAAAUHMcD2qlNLw64Ygd06WMObaOoK/SluUOjL/RxOBoGbeAj3hVnJ eIwnsD3hCTNvEEqfzOYl1krS3WyN4nnVyKG8QLk4f8Zzja2sIiJhp5XzeX5PcfIq/qnuYWt7HIC XgprIdI5Qwzmmy6gSXgGZ+ZYCRM5A/J4BMKqLrWeFKkEwtXYgtz/b2vQOEjzfIASnu0OjKScnEs vxb6xA5naheT40imG949T2UCusaiYR6bfpfGupHkVojiACaODxnvc= X-Google-Smtp-Source: APXvYqwm5wDvpKW2NiXslYqM+AUP/OOkmsyNFvz4ah5DyxKHQ+wCgZN9f9RTvodiCWPR2Ab0wL9k8rjtUMrAmCRDwh4= X-Received: by 2002:a02:13c2:: with SMTP id 185mr5071051jaz.0.1576821858698; Thu, 19 Dec 2019 22:04:18 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Akshay Joshi Date: Fri, 20 Dec 2019 11:34:07 +0530 Message-ID: Subject: Re: [pgAdmin][RM5017] Use cheroot as default production server To: Aditya Toshniwal Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000c32b95059a1c728f" X-CLOUD-SEC-AV-Info: edb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000c32b95059a1c728f Content-Type: text/plain; charset="UTF-8" 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* --000000000000c32b95059a1c728f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, patch applied.

On Tue, Dec 17, 2019 at 3:16 PM Adit= ya Toshniwal <adity= a.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Attached is the pa= tch to use=C2=A0https://pypi.org/proj= ect/cheroot/=C2=A0instead of current flask dev server. cheroot is a sta= ble production ready server. Plus, flask dev server is not recommended for = production.
Code is changed to use cheroot only when DEBUG is False, otherw= ise=C2=A0you the default flask server.

Kindly review.<= /div>
--
Thanks and Regards,
Aditya Toshniwal
Sr. Software Engineer |=C2=A0Ente= rpriseDB India |=C2=A0Pune
"Don't Complain about Heat, Plant a TREE"<= /div>


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