SuffolkLITLab / docassemble-EFSPIntegration

EFSP (Electronic Filing Service Provider) functionality, using ECF v4.0
https://suffolklitlab.org/docassemble-AssemblyLine-documentation/docs/efiling/overview
MIT License
1 stars 1 forks source link

Speed up calls to Tyler Servers #169

Open BryceStevenWilley opened 2 years ago

BryceStevenWilley commented 2 years ago

Certain calls take a noticeably long time: get_tyler_roles takes ~1.7 seconds, which is a while for things to wait. We could try to speed things up, maybe, or at least look into caching / doing things earlier.

Needed definition of logged_in_user_is_admin at 0.14191s
Tried to run block at 0.14195s

(from login_qs.yml)

depends on:
  - tyler_login
  - tyler_login_resp
code: |
  logged_in_user_is_admin, logged_in_user_is_global_admin = get_tyler_roles(proxy_conn, tyler_login_resp.data)

Tried to run block at 1.87490s