File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ var dbos *executor
6868
6969func getExecutor () * executor {
7070 if dbos == nil {
71- fmt .Println ("warning: DBOS instance not initiliazed" )
7271 return nil
7372 }
7473 return dbos
@@ -142,9 +141,6 @@ func Launch(options ...LaunchOption) error {
142141 // Create context with cancel function for queue runner
143142 ctx , cancel := context .WithCancel (context .Background ())
144143
145- // Create the internal workflow queue
146- NewWorkflowQueue (DBOS_INTERNAL_QUEUE_NAME )
147-
148144 dbos = & executor {
149145 systemDB : systemDB ,
150146 queueRunnerCtx : ctx ,
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ func TestLogger(t *testing.T) {
2626 logger .Info ("Test message from default logger" )
2727
2828 })
29- t .Run ("Custom logger" , func (t * testing.T ) {
3029
30+ t .Run ("Custom logger" , func (t * testing.T ) {
3131 // Test with custom slog logger
3232 var buf bytes.Buffer
3333 slogLogger := slog .New (slog .NewTextHandler (& buf , & slog.HandlerOptions {
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import (
1616var (
1717 workflowQueueRegistry = make (map [string ]WorkflowQueue )
1818 DBOS_INTERNAL_QUEUE_NAME = "_dbos_internal_queue"
19+ _ = NewWorkflowQueue (DBOS_INTERNAL_QUEUE_NAME )
1920)
2021
2122// RateLimiter represents a rate limiting configuration
You can’t perform that action at this time.
0 commit comments