#4718 _nav.json needs to be faster [ss222]

v1.0.0
closed
General
Cory Johns
2015-08-20
2012-08-14
Chris Tsai
No

[forge:site-support:#222]

After migration, on PSP, Files, etc., the nav bar consistently doesn't load the allura tools.

Related

Tickets: #4357

Discussion

  • Dave Brondsema

    Dave Brondsema - 2012-08-15
    • summary: nav bar not showing on sfpy pages for ooRexx [ss222] --> _nav.json needs to be faster [ss222]
    • milestone: limbo --> forge-sep-07
     
  • Dave Brondsema

    Dave Brondsema - 2012-08-15

    The project has the right type (classic vs allura) but when loading the allura menu it times out frequently and just shows the default "Summary Files Reviews Admin"

    This is fairly consistent with https://sourceforge.net/p/oorexx/_nav.json but doesn't seem to be a widespread problem for all projects. It seems to take about 1-2 seconds to fetch that URL which is kinda slow. We should time/profile and optimize the _nav.json logic.

     
  • Dave Brondsema

    Dave Brondsema - 2012-09-07
    • size: --> 2
     
  • Dave Brondsema

    Dave Brondsema - 2012-09-10
    • status: open --> in-progress
    • assigned_to: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2012-09-10

    Sample timings:

    {"time": "2012-09-10 18:19:27,074", "level": "INFO ", "name": "stats", "message": {"url": "/p/oorexx/_nav.json", "uptime": 2895, "timings": {"total": 2547, "mongo": 226, "ming": 2094}}}
    {"time": "2012-09-10 19:31:04,967", "level": "INFO ", "name": "stats", "message": {"url": "/p/oorexx/_nav.json", "uptime": 2167, "timings": {"total": 2435, "mongo": 325, "ming": 1973}}}
    {"time": "2012-09-10 19:34:33,577", "level": "INFO ", "name": "stats", "message": {"url": "/p/oorexx/_nav.json", "uptime": 895, "timings": {"total": 2529, "mongo": 219, "ming": 2075}}}
    
     
  • Dave Brondsema

    Dave Brondsema - 2012-09-11

    allura:db/4718

    These are the locations that are affected by sitemap changes, so you should check that they still work:

    /p/someproject/_nav.json
    /p/someproject/
    /p/someproject/subproject
    /p/
    /u/admin1/
    [[projects]] on a nbhd wiki
    scripts/create-allura-sitemap.py

     
  • Dave Brondsema

    Dave Brondsema - 2012-09-11
    • status: in-progress --> code-review
    • qa: Cory Johns
     
  • Cory Johns - 2012-09-12
    • status: code-review --> open
     
  • Cory Johns - 2012-09-12

    Created a sub-project and the Admin tool gets displayed as Tool Name instead of Admin, as it is displayed on dev.

     
  • Dave Brondsema

    Dave Brondsema - 2012-09-13
    • status: open --> code-review
     
  • Dave Brondsema

    Dave Brondsema - 2012-09-13

    test and fix as new commit on db/4718 (rebased)

     
  • Cory Johns - 2012-09-14
    • status: code-review --> closed
     

Log in to post a comment.