python 2.7 - pyramid middleware call to mssql stored procedure - no response -


from pyramid middleware application i'm calling stored procedure pymssql. procedure responds nicely upon first request pass through middleware frontend (angularjs). upon subsequent requests however, not response @ all, not timeout.

if restart pyramid application, same above described happens again.

i'm observing behavior couple of procedures implemented yesterday. other procedures implemented months ago working fine, regardless of how call them.

i'm not writing procedures myself, provided for.

from i'm describing here, can tell bug should hiding probably?

the solution rather trivial. within 1 object instance, calling 2 different stored procedures without closing connection after first call. caused pending request or in mssql-db, locking further requests.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -