public inbox for [email protected]  
help / color / mirror / Atom feed
From: Murtuza Zabuawala <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: PATCH: To disable SQLALCHEMY to tracking (pgAdmin4)
Date: Tue, 26 Jul 2016 16:19:11 +0530
Message-ID: <CAKKotZSgXAqcO=23BpNweqbgLM=je17Pecg3L32b2g1_XBkNBg@mail.gmail.com> (raw)
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

Hi All,

PFA patch which will disable SQLALCHEMY track modification feature as it
put overhead on system.


--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Attachments:

  [application/octet-stream] disable_sqlalchemy_tracking.patch (653B, 3-disable_sqlalchemy_tracking.patch)
  download | inline diff:
diff --git a/web/config.py b/web/config.py
index 722da20..1ff7b7a 100644
--- a/web/config.py
+++ b/web/config.py
@@ -267,6 +267,12 @@ STORAGE_DIR = os.path.join(
 THREADED_MODE = True
 
 ##########################################################################
+# Do not allow SQLALCHEMY to track modification as it is going to be
+# deprecated in future
+##########################################################################
+SQLALCHEMY_TRACK_MODIFICATIONS = False
+
+##########################################################################
 # Local config settings
 ##########################################################################
 


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: PATCH: To disable SQLALCHEMY to tracking (pgAdmin4)
  In-Reply-To: <CAKKotZSgXAqcO=23BpNweqbgLM=je17Pecg3L32b2g1_XBkNBg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox