Skip to content

Commit 057508d

Browse files
committed
feat(agent): integrate TAP mngr in SenderAllocationTask
Signed-off-by: Joseph Livesey <[email protected]>
1 parent e6963eb commit 057508d

File tree

7 files changed

+388
-36
lines changed

7 files changed

+388
-36
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ tap_aggregator = { version = "0.5.6", default-features = false }
8787
tap_core = { version = "4.1.4", default-features = false }
8888
tap_graph = { version = "0.3.4", features = ["v2"] }
8989
tempfile = "3.8.0"
90+
testcontainers-modules = { version = "0.12.1", features = ["postgres"] }
9091
test-log = { version = "0.2.12", default-features = false }
9192
testcontainers-modules = { version = "0.12.1", features = ["postgres"] }
9293
test-with = "0.14.6"

crates/tap-agent/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,4 @@ test-log = { workspace = true, features = ["trace"] }
6767
rstest.workspace = true
6868
stdext.workspace = true
6969
insta.workspace = true
70+
testcontainers-modules = { workspace = true, features = ["postgres"] }

crates/tap-agent/src/agent/sender_account_task.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ impl SenderAccountTask {
274274
Some(task_name.clone()),
275275
allocation_id,
276276
self_handle,
277+
state.pgpool.clone(),
277278
)
278279
.await?
279280
}
@@ -283,6 +284,7 @@ impl SenderAccountTask {
283284
Some(task_name.clone()),
284285
allocation_id,
285286
self_handle,
287+
state.pgpool.clone(),
286288
)
287289
.await?
288290
}

0 commit comments

Comments
 (0)