Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd89d373

Browse files
committed
add pubsub to dbmem
1 parenta8a66ba commitd89d373

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
varpubsubWatchdogTimeout<-chanstruct{}
692692
ifvals.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
iferr!=nil {

‎coderd/database/dump.sql‎

Lines changed: 0 additions & 61 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing 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+
DROPTYPE agent_id_name_pair;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CREATETYPEagent_id_name_pairAS (
2+
id uuid,
3+
nametext
4+
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp