Update
csflow: - Create structs for gamerules and global vars radarflow: - new dma loop with less frequent cache invalidation - The new loop tries to run at a fixed 128 hz. Thats the max tickrate in cs2. The data is also only updated when a tick change is detected, so that should keep data fetching to a minimum. - todo: more testing for cache invalidation
This commit is contained in:
@@ -28,7 +28,7 @@ async fn main() -> anyhow::Result<()> {
|
||||
|
||||
let rwlock_clone = rwlock.clone();
|
||||
let dma_handle = tokio::spawn(async move {
|
||||
if let Err(err) = dma::run(cli.connector, cli.pcileech_device, cli.poll_rate, rwlock_clone).await {
|
||||
if let Err(err) = dma::run(cli.connector, cli.pcileech_device, rwlock_clone).await {
|
||||
log::error!("Error in dma thread: [{}]", err.to_string());
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user