Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete task logs #982

Merged
merged 1 commit into from
Oct 11, 2024
Merged

delete task logs #982

merged 1 commit into from
Oct 11, 2024

Conversation

dchhabda
Copy link

@dchhabda dchhabda commented Oct 10, 2024

Sample logs from local instance comparing total value reported in logs vs manually calculated to confirm they match

pybossa:INFO:[2024-10-10 22:59:54,056] Delete task profiling task 5609, project 5 Total time 0.011488 seconds. 
self._delete 0.002237 seconds, element.project 0.006064 seconds, db.session.commit 0.000581 seconds, 
cached_projects.clean_project 0.002240 seconds, self._delete_zip_files_from_store 0.000366 seconds [in 
/home/pybossa/pybossa/pybossa/repositories/task_repository.py:235]

Total time logged                 0.011488 seconds. 
--------------------------------------------
self._delete                      0.002237 seconds, 
element.project                   0.006064 seconds, 
db.session.commit                 0.000581 seconds, 
cached_projects.clean_project     0.002240 seconds, 
self._delete_zip_files_from_store 0.000366 seconds
--------------------------------------------
Total time (5 function calls)     0.011488 seconds

@coveralls
Copy link

coveralls commented Oct 10, 2024

Pull Request Test Coverage Report for Build 11294393823

Details

  • 9 of 9 (100.0%) changed or added relevant lines in 1 file are covered.
  • 56 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.007%) to 94.022%

Files with Coverage Reduction New Missed Lines %
pybossa/util.py 14 97.48%
pybossa/view/projects.py 42 90.96%
Totals Coverage Status
Change from base Build 11281284666: 0.007%
Covered Lines: 17379
Relevant Lines: 18484

💛 - Coveralls

@dchhabda dchhabda merged commit 1a94427 into main Oct 11, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants