[WEB-2706] fix: Fix issue with SQLite transactions (#5934)
* - Fix transaction within transaction issue - Close DB handles on reload - Fix GET_ISSUES tracking * Cleanup stray code * Fix lint error * Possible fix for NoModificationAllowedError
This commit is contained in:
parent
20b2a70939
commit
a1bfde6af9
5 changed files with 26 additions and 9 deletions
|
|
@ -71,10 +71,7 @@ export class IssueService extends APIService {
|
|||
if (!isEmpty(queries.expand as string) && !queries.group_by)
|
||||
return await this.getIssuesFromServer(workspaceSlug, projectId, queries, config);
|
||||
|
||||
const response = await startSpan({ name: "GET_ISSUES" }, async () => {
|
||||
const res = await persistence.getIssues(workspaceSlug, projectId, queries, config);
|
||||
return res;
|
||||
});
|
||||
const response = await persistence.getIssues(workspaceSlug, projectId, queries, config);
|
||||
return response as TIssuesResponse;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue