ironmansoftware / powershell-universal

Issue tracker for PowerShell Universal
https://powershelluniversal.com
38 stars 4 forks source link

Data Retention value not honored #4089

Closed bt-ndollimount closed 1 day ago

bt-ndollimount commented 1 day ago

Description of Issue

The default data retention value is set to 30 days. However, the user session information appears to only be kept for about 3 days. I'm building a dashboard for managers to view dashboard usage of their users but the user session information is being cleared older than 3 days.

Version

5.0.16

Severity

Medium

Hosting Method

MSI (Windows Service)

Operating System

Windows

Database

PostgreSQL

Licensed

Yes

Features

Git Sync

Additional Environment data

Windows Server 2022 Standard / Amazon Linux PowerShell 7.4.6 PostgreSQL 16

Screenshots/Animations

image

adamdriscoll commented 1 day ago

It was actually hard coded to 1 day so not sure why it would survive longer. That said, I updated it to honor the data retention setting.