Skip to content

Commit

Permalink
Increased processing queues
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardoOliveira committed May 24, 2024
1 parent 3a14996 commit 809a0a1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion core/processing/enrichment.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/eduardooliveira/stLib/core/processing/enrichment"
)

var enrichmentQueue = make(chan *ProcessableAsset, 256)
var enrichmentQueue = make(chan *ProcessableAsset, 9999999)

func init() {
renderers := make(map[string]enrichment.Renderer, 0)
Expand Down
2 changes: 1 addition & 1 deletion core/queue/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type Job interface {
JobAction()
}

var queue = make(chan Job, 100)
var queue = make(chan Job, 9999999)

func init() {
go func() {
Expand Down
39 changes: 19 additions & 20 deletions data/assetTypes.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
[image]
name = "image"
label = "Images"
extensions = [".png", ".jpg", ".jpeg", ".gif", ".bmp", ".webp"]
order = 1
#[pdf]
#name = "pdf"
#label = "PDF's"
#extensions = [".pdf"]
Name = "image"
Label = "Images"
Extensions = [".png", ".jpg", ".jpeg", ".gif", ".bmp", ".webp"]
Order = 1

[model]
name = "model"
label = "Models"
extensions = [".stl", ".3fm"]
order = 0
Name = "model"
Label = "Models"
Extensions = [".stl", ".3fm"]
Order = 0

[slice]
name = "slice"
label = "Slices"
extensions = [".gcode"]
order = 2
Name = "slice"
Label = "Slices"
Extensions = [".gcode"]
Order = 2

[source]
name = "source"
label = "Sources"
extensions = [".stp", ".step", ".ste", ".fbx", ".f3d", ".f3z", ".iam", ".ipt"]
order = 99
Name = "source"
Label = "Sources"
Extensions = [".stp", ".step", ".ste", ".fbx", ".f3d", ".f3z", ".iam", ".ipt"]
Order = 99
1 change: 1 addition & 0 deletions frontend
Submodule frontend added at de02c8

0 comments on commit 809a0a1

Please sign in to comment.