Skip to content

Commit d89d373

Browse files
committed
add pubsub to dbmem
1 parent a8a66ba commit d89d373

File tree

6 files changed

+6
-142
lines changed

6 files changed

+6
-142
lines changed

cli/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,8 +691,8 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
691691
var pubsubWatchdogTimeout <-chan struct{}
692692
if vals.InMemoryDatabase {
693693
// This is only used for testing.
694-
options.Database = dbmem.New()
695694
options.Pubsub = pubsub.NewInMemory()
695+
options.Database = dbmem.New()
696696
} else {
697697
sqlDB, dbURL, err := getPostgresDB(ctx, logger, vals.PostgresURL.String(), codersdk.PostgresAuth(vals.PostgresAuth), sqlDriver)
698698
if err != nil {

coderd/database/dump.sql

Lines changed: 0 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/migrations/000260_workspace_updates.down.sql

Lines changed: 0 additions & 7 deletions
This file was deleted.

coderd/database/migrations/000260_workspace_updates.up.sql

Lines changed: 0 additions & 73 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TYPE agent_id_name_pair;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CREATE TYPE agent_id_name_pair AS (
2+
id uuid,
3+
name text
4+
);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy