https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36546

            Bug ID: 36546
           Summary: API yaml validation is slow.
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

From an strace it can take up to 6 sec on our servers.

Ex:

First stat:
07:48:46.941069 (+     0.000129) brk(0x5641224ad000) = 0x5641224ad000
<0.000018>
07:48:46.941340 (+     0.000015)
stat("/home/koha/src/api/v1/swagger/swagger.yaml", {st_mode=S_IFREG|0644,
st_size=30696, ...}) = 0 <0.000010>
...
last one
07:48:53.453980 (+     0.000030)
lstat("/home/koha/src/api/v1/swagger/swagger.yaml", {st_mode=S_IFREG|0644,
st_size=30696, ...}) = 0 <0.000015>

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to