File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
server/StrDss.Data/Repositories Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -238,21 +238,22 @@ await _dbSet.AsNoTracking()
238
238
239
239
group . NightsBookedYtdQty = 0 ;
240
240
241
+ stopwatch . Restart ( ) ;
242
+
241
243
foreach ( var listing in listings )
242
244
{
243
- stopwatch . Restart ( ) ;
244
-
245
245
await SetExtraProperties ( listing ) ;
246
246
247
247
listing . Filtered = filteredIdSet . Contains ( listing . RentalListingId ?? 0 ) ;
248
248
249
249
group . NightsBookedYtdQty += listing . NightsBookedYtdQty ?? 0 ;
250
250
251
- stopwatch . Stop ( ) ;
252
-
253
- _logger . LogInformation ( $ "Get Grouped Listings (extra properties) - Count: { listings . Count } , Time: { stopwatch . Elapsed . TotalSeconds } seconds") ;
254
251
}
255
252
253
+ stopwatch . Stop ( ) ;
254
+
255
+ _logger . LogInformation ( $ "Get Grouped Listings (extra properties) - Count: { listings . Count } , Time: { stopwatch . Elapsed . TotalSeconds } seconds") ;
256
+
256
257
stopwatch . Restart ( ) ;
257
258
258
259
var lastActionDtm = listings . Max ( x => x . LastActionDtm ) ;
You can’t perform that action at this time.
0 commit comments