File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -958,7 +958,7 @@ impl DeploymentStore {
958958
959959 let mut conn = self . get_conn ( ) ?;
960960 let layout = store. layout ( & mut conn, site. cheap_clone ( ) ) . await ?;
961- layout. last_rollup ( & mut conn)
961+ layout. last_rollup ( & mut conn) . await
962962 }
963963
964964 pub ( crate ) async fn get_proof_of_indexing (
Original file line number Diff line number Diff line change @@ -1124,11 +1124,11 @@ impl Layout {
11241124 /// for all aggregations, meaning that if some aggregations do not have
11251125 /// an entry with the maximum timestamp that there was just no data for
11261126 /// that interval, but we did try to aggregate at that time.
1127- pub ( crate ) fn last_rollup (
1127+ pub ( crate ) async fn last_rollup (
11281128 & self ,
11291129 conn : & mut PgConnection ,
11301130 ) -> Result < Option < BlockTime > , StoreError > {
1131- Rollup :: last_rollup ( & self . rollups , conn)
1131+ Rollup :: last_rollup ( & self . rollups , conn) . await
11321132 }
11331133
11341134 /// Construct `Rolllup` for each of the aggregation mappings
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ impl Rollup {
283283 query. execute ( conn)
284284 }
285285
286- pub ( crate ) fn last_rollup (
286+ pub ( crate ) async fn last_rollup (
287287 rollups : & [ Rollup ] ,
288288 conn : & mut PgConnection ,
289289 ) -> Result < Option < BlockTime > , StoreError > {
You can’t perform that action at this time.
0 commit comments