Skip to content

Increase log retrieval limit from 250 to 512 #574

@ziagham

Description

@ziagham

Summary

Currently, the All method in the LoggerService limits the number of logs retrieved to 250 using .Take(250). This constraint restricts larger log queries and may prevent users from accessing sufficient log history.

File: /src/FlowSynx.Persistence.SQLite/Services/LoggerService.cs lines: 31 and 40

Change number 250 to 512 for these two lines.

Rationale:

  • Allows retrieval of more recent logs per request
  • Better supports debugging and monitoring needs for high-volume systems
  • Minimal performance impact for most deployments

Acceptance Criteria:

  • .Take(250) updated to .Take(512) in both code paths
  • Unit/integration tests (if applicable) updated to reflect the new default limit
  • Code reviewed and merged

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions