summaryrefslogtreecommitdiff
path: root/internal/media/manager_test.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2022-05-07 16:36:01 +0100
committerLibravatar GitHub <noreply@github.com>2022-05-07 17:36:01 +0200
commita561ef354139e5124fbd1ed35c3f9fb6836b574b (patch)
tree71cd2b36d53c03979826013cddddda8b6ed302f0 /internal/media/manager_test.go
parent[Documentation] Update glossary, expand entry for dereferencing (#542) (diff)
downloadgotosocial-a561ef354139e5124fbd1ed35c3f9fb6836b574b.tar.xz
[feature] Update media manager to use internal/worker package (#543)
* update media manager to use internal/worker package, update worker with better logging Signed-off-by: kim <grufwub@gmail.com> * fix Queue() trace log message format operators Signed-off-by: kim <grufwub@gmail.com> * update media manager comment to match updated worker implementation Signed-off-by: kim <grufwub@gmail.com>
Diffstat (limited to 'internal/media/manager_test.go')
-rw-r--r--internal/media/manager_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/media/manager_test.go b/internal/media/manager_test.go
index 75e706ba7..3a6110f2b 100644
--- a/internal/media/manager_test.go
+++ b/internal/media/manager_test.go
@@ -443,8 +443,6 @@ func (suite *ManagerTestSuite) TestSimpleJpegQueueSpamming() {
}
for _, processingMedia := range inProcess {
- fmt.Printf("\n\n\nactive workers: %d, queue length: %d\n\n\n", suite.manager.ActiveWorkers(), suite.manager.JobsQueued())
-
// fetch the attachment id from the processing media
attachmentID := processingMedia.AttachmentID()