Skip to content

Commit

Permalink
Merge #495
Browse files Browse the repository at this point in the history
495: Change Stats DatabaseSize from int to long r=curquiza a=Fronix

# Pull Request

## Related issue
Fixes #494

## What does this PR do?
- Change `DatabaseSize` from `int` to `long`

## PR checklist
Please check if your PR fulfills the following requirements:
- [X] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [X] Have you read the contributing guidelines?
- [X] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: Oscar Martin <[email protected]>
  • Loading branch information
meili-bors[bot] and Fronix authored Oct 25, 2023
2 parents d0193c4 + bbbf64b commit 71cc72e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Meilisearch/Stats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Meilisearch
/// </summary>
public class Stats
{
public Stats(int databaseSize, DateTime? lastUpdate, IReadOnlyDictionary<string, IndexStats> indexes)
public Stats(long databaseSize, DateTime? lastUpdate, IReadOnlyDictionary<string, IndexStats> indexes)
{
DatabaseSize = databaseSize;
LastUpdate = lastUpdate;
Expand All @@ -20,7 +20,7 @@ public Stats(int databaseSize, DateTime? lastUpdate, IReadOnlyDictionary<string,
/// Gets database size.
/// </summary>
[JsonPropertyName("databaseSize")]
public int DatabaseSize { get; }
public long DatabaseSize { get; }

/// <summary>
/// Gets last update timestamp.
Expand Down

0 comments on commit 71cc72e

Please sign in to comment.