Skip to content

Commit

Permalink
Revert "gotta be unique"
Browse files Browse the repository at this point in the history
This reverts commit 4aa5137.
  • Loading branch information
dwasint committed Dec 12, 2023
1 parent 3612133 commit e2e54cf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions monkestation/code/modules/metrics/metric_subsystem.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ SUBSYSTEM_DEF(metrics)

var/list/generic_insert = get_metric_data_main()
var/list/special = list(
"datetime_subsystem" = "NOW()",
)
var/list/special_extra = list(
"datetime_extra" = "NOW()",
"datetime" = "NOW()",
)
var/list/subsystem_extra_insert = list()
var/list/subsystem_insert = list()
Expand Down Expand Up @@ -73,7 +70,7 @@ SUBSYSTEM_DEF(metrics)

SSdbcore.MassInsert(format_table_name("subsystem_metrics"), subsystem_insert , ignore_errors = TRUE, special_columns = special, duplicate_key = TRUE)
if(length(subsystem_extra_insert))
SSdbcore.MassInsert(format_table_name("subsystem_extra_metrics"), subsystem_extra_insert , ignore_errors = TRUE, special_columns = special_extra, duplicate_key = TRUE)
SSdbcore.MassInsert(format_table_name("subsystem_extra_metrics"), subsystem_extra_insert , ignore_errors = TRUE, special_columns = special, duplicate_key = TRUE)

/datum/controller/subsystem/metrics/proc/get_metric_data_main()
var/list/out = list()
Expand Down

0 comments on commit e2e54cf

Please sign in to comment.