Skip to content

Commit

Permalink
fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMurloc committed Dec 5, 2023
1 parent bcae9e1 commit 9844e59
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions src/diskquota.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ static volatile sig_atomic_t got_sigusr1 = false;
static volatile sig_atomic_t got_sigusr2 = false;

/* GUC variables */
int diskquota_naptime = 0;
int diskquota_max_active_tables = 0;
int diskquota_worker_timeout = 60; /* default timeout is 60 seconds */
bool diskquota_hardlimit = false;
int diskquota_max_workers = 10;
int diskquota_max_table_segments = 0;
int diskquota_max_monitored_databases = 0;
int diskquota_max_quota_probes = 0;
int diskquota_naptime = 0;
int diskquota_max_active_tables = 0;
int diskquota_worker_timeout = 60; /* default timeout is 60 seconds */
bool diskquota_hardlimit = false;
int diskquota_max_workers = 10;
int diskquota_max_table_segments = 0;
int diskquota_max_monitored_databases = 0;
int diskquota_max_quota_probes = 0;
int diskquota_hashmap_overflow_report_timeout = 0;

DiskQuotaLocks diskquota_locks;
Expand Down
4 changes: 2 additions & 2 deletions src/gp_activetable.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ typedef struct DiskQuotaSetOFCache
HASH_SEQ_STATUS pos;
} DiskQuotaSetOFCache;

HTAB *active_tables_map = NULL; // Set<DiskQuotaActiveTableFileEntry>
HTAB *active_tables_map = NULL; // Set<DiskQuotaActiveTableFileEntry>
TimestampTz active_tables_last_overflow_report = 0;

#define ACTIVE_TABLE_ENTER(keyPtr, foundPtr) \
Expand All @@ -68,7 +68,7 @@ TimestampTz active_tables_last_overflow_report = 0;
* dbid will be added to it when creating diskquota extension
* dbid will be removed from it when droping diskquota extension
*/
HTAB *altered_reloid_cache = NULL; // Set<Oid>
HTAB *altered_reloid_cache = NULL; // Set<Oid>
TimestampTz altered_reloid_cache_last_overflow_report = 0;

#define ALTERED_RELOID_CACHE_ENTER(keyPtr, foundPtr) \
Expand Down

0 comments on commit 9844e59

Please sign in to comment.