You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2019/08/27 20:09:39 UTC
[allura:tickets] #8328 timeouts with LastCommit build
---
** [tickets:#8328] timeouts with LastCommit build**
**Status:** open
**Milestone:** unreleased
**Created:** Tue Aug 27, 2019 08:09 PM UTC by Dave Brondsema
**Last Updated:** Tue Aug 27, 2019 08:09 PM UTC
**Owner:** nobody
I've had to lower the `lcd_timeout` in forge-allura's .ini file to avoid 500 errors on /p/allura/git/ci/master/tree/ But that leaves us with "unknown" last commit info.
Here's a timermiddleware instrumentation log from when it was at 15 sec.
```
{
"time": "2019-08-26 14:38:51,977",
"level": "INFO ",
"name": "stats",
"message": {
"url": "/p/allura/git/ci/master/tree/",
"uptime": 110,
"call_counts": {
"git_tool.commit": 1,
"git_tool.open_blob": 1,
"mongo": 294,
"repo.Commit.get_tree": 2,
"git_tool._get_refs": 2,
"repo.Commit.set_context": 3,
"git_tool.is_empty": 849,
"ming": 371,
"markdown": 1,
"repo.LastCommit.get": 1,
"git_tool.paged_diffs": 1,
"repo.Blob.open": 1,
"repo.Commit.shorthand_id": 3,
"repo.Tree.__repr__": 5,
"git_tool.__init__": 1,
"repo.Commit.__repr__": 10,
"repo.Tree._lcd_map": 1,
"git_tool.rev_parse": 2,
"sidebar": 3,
"jinja": 1,
"repo.Tree.path": 2,
"git_tool.shorthand_for_commit": 3,
"repo.Commit.paged_diffs": 1,
"repo.Commit.get_path": 1,
"total": 1,
"git_tool._iter_commits_with_refs": 2,
"repo.Tree.set_context": 2,
"git_lib.log": 3,
"repo.LastCommit._build": 1,
"git_lib.rev_parse": 3,
"git_tool.get_changes": 1,
"repo.LastCommit._last_commit_id": 1,
"repo.Tree.__getitem__": 2,
"git_tool.symbolics_for_commit": 1,
"git_tool.log.next": 3,
"repo.Commit.url": 2,
"git_tool.last_commit_ids": 1,
"git_tool.log": 2,
"git_tool.url_for_commit": 24,
"repo.LastCommit.__repr__": 2,
"repo.Blob.__init__": 1,
"repo.LastCommit._prev_commit_id": 1,
"git_tool._object": 1,
"repo.Tree.readme": 1,
"repo.Commit._summary": 1,
"git_tool._iter_commits_with_refs.next": 3,
"repo.Tree.ls": 1
},
"request_category": "git",
"timings": {
"git_tool.commit": 2225,
"git_tool.open_blob": 3322,
"mongo": 758,
"repo.Commit.get_tree": 11,
"git_tool._get_refs": 84,
"repo.Commit.set_context": 1,
"git_tool.is_empty": 20,
"ming": 6418,
"markdown": 185,
"repo.LastCommit.get": 15184,
"repo.Blob.open": 3323,
"git_tool.paged_diffs": 2497,
"repo.Commit.shorthand_id": 0,
"sidebar": 7774,
"git_tool.__init__": 0,
"repo.Commit.__repr__": 0,
"repo.Tree._lcd_map": 66,
"git_tool.rev_parse": 3,
"repo.Tree.__repr__": 0,
"jinja": 27116,
"repo.Tree.path": 0,
"git_tool.shorthand_for_commit": 0,
"repo.Commit.paged_diffs": 2497,
"repo.Commit.get_path": 1,
"total": 29519,
"git_tool._iter_commits_with_refs": 0,
"repo.Tree.set_context": 0,
"git_lib.log": 6953,
"repo.LastCommit._build": 12708,
"git_lib.rev_parse": 2212,
"git_tool.get_changes": 2319,
"repo.LastCommit._last_commit_id": 2466,
"repo.Tree.__getitem__": 1,
"git_tool.symbolics_for_commit": 5,
"git_tool.log.next": 4767,
"repo.Commit.url": 0,
"git_tool.last_commit_ids": 5540,
"git_tool.log": 0,
"git_tool.url_for_commit": 3,
"repo.LastCommit.__repr__": 0,
"repo.Blob.__init__": 0,
"repo.LastCommit._prev_commit_id": 4805,
"git_tool._object": 1,
"repo.Tree.readme": 3337,
"repo.Commit._summary": 0,
"git_tool._iter_commits_with_refs.next": 4766,
"repo.Tree.ls": 15282
}
}
}
```
---
Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.