Re: [pgAdmin4][Patch]: RM #3734 "Error Message displayed once useruse debugger and execute procedure list_emp 5 times with fast speed" - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4][Patch]: RM #3734 "Error Message displayed once useruse debugger and execute procedure list_emp 5 times with fast speed"
Date
Msg-id CA+OCxowtecWqSeWbRuBM7AVjLivHZVUGhfVrVdvmkxzYbWJkmA@mail.gmail.com
Whole thread Raw
In response to [pgAdmin4][Patch]: RM #3734 "Error Message displayed once user usedebugger and execute procedure list_emp 5 times with fast speed"  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
Thanks, committed. I included a note in the commit message and the code to look for a more appropriate solution in the future.

On Tue, Nov 20, 2018 at 8:59 AM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to fix RM #3734 "Error Message displayed once user use debugger and execute procedure list_emp 5 times with fast speed".

Solution: I have wrapped the logic to enable "Continue" button in setTimeout() function with the sleep of 500ms. This is not the exact solution, but it works for me.

Please review it.

--
Akshay Joshi
Sr. Software Architect


Phone: +91 20-3058-9517
Mobile: +91 976-788-8246


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

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Prevent the debugger controls being pressed againbef
Next
From: Akshay Joshi
Date:
Subject: Re: Import/export servers