diff --git a/src/goose.rs b/src/goose.rs index e9282d14..6f7dc5c7 100644 --- a/src/goose.rs +++ b/src/goose.rs @@ -911,18 +911,7 @@ impl Clone for GooseUser { shutdown_channel: self.shutdown_channel.clone(), weighted_users_index: self.weighted_users_index, load_test_hash: self.load_test_hash, - request_cadence: GooseRequestCadence { - last_time: self.request_cadence.last_time, - delays_since_last_time: self.request_cadence.delays_since_last_time, - counter: self.request_cadence.counter, - minimum_cadence: self.request_cadence.minimum_cadence, - maximum_cadence: self.request_cadence.maximum_cadence, - average_cadence: self.request_cadence.average_cadence, - total_elapsed: self.request_cadence.total_elapsed, - coordinated_omission_mitigation: self.request_cadence.coordinated_omission_mitigation, - user_cadence: self.request_cadence.user_cadence, - coordinated_omission_counter: self.request_cadence.coordinated_omission_counter, - }, + request_cadence: self.request_cadence.clone(), slept: self.slept, session_data: if self.session_data.is_some() { Option::from(self.session_data.clone_goose_user_data()) } else { None }, }