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

Commit62f2b39

Browse files
committed
flake
1 parentfa799a6 commit62f2b39

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎coderd/database/pubsub/pubsub.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,8 @@ func (p *PGPubsub) Collect(metrics chan<- prometheus.Metric) {
609609
}
610610

611611
// New creates a new Pubsub implementation using a PostgreSQL connection.
612-
funcNew(startCtx context.Context,logger slog.Logger,database*sql.DB,connectURLstring) (*PGPubsub,error) {
613-
p:=newWithoutListener(logger,database)
612+
funcNew(startCtx context.Context,logger slog.Logger,db*sql.DB,connectURLstring) (*PGPubsub,error) {
613+
p:=newWithoutListener(logger,db)
614614
iferr:=p.startListener(startCtx,connectURL);err!=nil {
615615
returnnil,err
616616
}
@@ -620,11 +620,11 @@ func New(startCtx context.Context, logger slog.Logger, database *sql.DB, connect
620620
}
621621

622622
// newWithoutListener creates a new PGPubsub without creating the pqListener.
623-
funcnewWithoutListener(logger slog.Logger,database*sql.DB)*PGPubsub {
623+
funcnewWithoutListener(logger slog.Logger,db*sql.DB)*PGPubsub {
624624
return&PGPubsub{
625625
logger:logger,
626626
listenDone:make(chanstruct{}),
627-
db:database,
627+
db:db,
628628
queues:make(map[string]map[uuid.UUID]*msgQueue),
629629
latencyMeasurer:NewLatencyMeasurer(logger.Named("latency-measurer")),
630630

‎flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
name="coder-${osArch}";
118118
# Updated with ./scripts/update-flake.sh`.
119119
# This should be updated whenever go.mod changes!
120-
vendorHash="sha256-AZ0qzh7H+UwnZNyg2iaNMSUWlGgomI/mo70T+FdF7ws=";
120+
vendorHash="sha256-AWWSj+tNYEzvf4lTgdUJMi2bY6rXxZHGh50P4WY2BUo=";
121121
proxyVendor=true;
122122
src=./.;
123123
nativeBuildInputs=withpkgs;[getoptopensslzstd];

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp