public inbox for [email protected]  
help / color / mirror / Atom feed
PATCH: To disable SQLALCHEMY to tracking (pgAdmin4)
2+ messages / 2 participants
[nested] [flat]

* PATCH: To disable SQLALCHEMY to tracking (pgAdmin4)
@ 2016-07-26 10:49 Murtuza Zabuawala <[email protected]>
  2016-07-26 12:02 ` Re: PATCH: To disable SQLALCHEMY to tracking (pgAdmin4) Dave Page <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Murtuza Zabuawala @ 2016-07-26 10:49 UTC (permalink / raw)
  To: pgadmin-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
 ##########################################################################
 


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: PATCH: To disable SQLALCHEMY to tracking (pgAdmin4)
  2016-07-26 10:49 PATCH: To disable SQLALCHEMY to tracking (pgAdmin4) Murtuza Zabuawala <[email protected]>
@ 2016-07-26 12:02 ` Dave Page <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Dave Page @ 2016-07-26 12:02 UTC (permalink / raw)
  To: Murtuza Zabuawala <[email protected]>; +Cc: pgadmin-hackers

Thanks, applied.

On Tue, Jul 26, 2016 at 11:49 AM, Murtuza Zabuawala
<[email protected]> wrote:
> 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
>



-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-07-26 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-07-26 10:49 PATCH: To disable SQLALCHEMY to tracking (pgAdmin4) Murtuza Zabuawala <[email protected]>
2016-07-26 12:02 ` Dave Page <[email protected]>

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