fleet/server/datastore/mysql
Tomas Touceda fe1fa4d78c
Clone AppConfig and ScheduledQuery list by hand to improve CPU usage (#8794)
* Close AppConfig and ScheduledQuery list by hand to improve CPU usage

* Address review comments

* Update remaining mocks
2022-11-23 12:04:06 -03:00
..
migrations Clone AppConfig and ScheduledQuery list by hand to improve CPU usage (#8794) 2022-11-23 12:04:06 -03:00
activities.go Issue 3173 debug status processlist (#4009) 2022-02-03 14:56:22 -03:00
activities_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
aggregated_stats.go Issue 3173 debug status processlist (#4009) 2022-02-03 14:56:22 -03:00
aggregated_stats_test.go Replace uses of ansi quotes (") in SQL statements (#4726) 2022-04-11 11:47:50 -07:00
app_configs.go Keep created_at timestamp of existing enroll secrets (#8062) 2022-10-05 08:35:36 -04:00
app_configs_test.go Keep created_at timestamp of existing enroll secrets (#8062) 2022-10-05 08:35:36 -04:00
apple_mdm.go Add Apple MDM functionality (#7940) 2022-10-05 19:53:54 -03:00
campaigns.go Issue 3173 debug status processlist (#4009) 2022-02-03 14:56:22 -03:00
campaigns_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
carves.go Issue 3173 debug status processlist (#4009) 2022-02-03 14:56:22 -03:00
carves_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
config.go Fix double quote usage in sql query (#6707) 2022-07-20 10:10:03 -06:00
cron_stats.go Add holdLock and releaseLock methods to schedule package (#8464) 2022-11-16 15:14:38 -06:00
cron_stats_test.go Adjust cron schedule tests (#8754) 2022-11-18 11:26:51 -06:00
delete.go Issue 3173 debug status processlist (#4009) 2022-02-03 14:56:22 -03:00
delete_test.go Remove skipLoadingExtras and includeCVEScores from GetHost and HostByIdentifier methods (#5874) 2022-05-25 11:30:03 -05:00
email_changes.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
email_changes_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
errors.go Improved Datastore usage of osquery hosts requests (#3601) 2022-01-17 22:52:09 -03:00
fulltext.go Using '@' in target search causes 422 error response (#5148) 2022-04-19 09:28:49 -04:00
fulltext_test.go Using '@' in target search causes 422 error response (#5148) 2022-04-19 09:28:49 -04:00
hosts.go Exclude windows servers from mdm aggregation and lists (#8585) 2022-11-08 10:29:40 +01:00
hosts_test.go Exclude windows servers from mdm aggregation and lists (#8585) 2022-11-08 10:29:40 +01:00
invites.go Issue 3173 debug status processlist (#4009) 2022-02-03 14:56:22 -03:00
invites_test.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
jobs.go Queue jobs for Jira integration when enabled and new vulnerabilities are found. (#4975) 2022-04-11 16:42:16 -04:00
labels.go Support low_disk_space filter for endpoint /labels/{id}/hosts (#8598) 2022-11-08 09:19:34 +01:00
labels_test.go Support low_disk_space filter for endpoint /labels/{id}/hosts (#8598) 2022-11-08 09:19:34 +01:00
locks.go Add holdLock and releaseLock methods to schedule package (#8464) 2022-11-16 15:14:38 -06:00
locks_test.go Add holdLock and releaseLock methods to schedule package (#8464) 2022-11-16 15:14:38 -06:00
migrations_test.go Fix double quote usage in sql query (#6707) 2022-07-20 10:10:03 -06:00
mysql.go Fix undetected missing migrations (#8228) 2022-10-14 13:26:04 -03:00
mysql_test.go 7135 host display name (#7873) 2022-10-08 08:57:46 -04:00
operating_system_vulnerabilities.go Feature 7494: Use the MSRC security bulletin artifacts for detecting Win OS vulnerabilities (#7889) 2022-10-28 11:12:21 -04:00
operating_system_vulnerabilities_test.go Feature 7494: Use the MSRC security bulletin artifacts for detecting Win OS vulnerabilities (#7889) 2022-10-28 11:12:21 -04:00
operating_systems.go Use tx instead of writer within withTx style code to prevent deadlocks (#8554) 2022-11-03 10:57:50 -03:00
operating_systems_test.go Handle errors for duplicate os records (#7294) 2022-08-22 14:34:00 -05:00
packs.go Add team targets to pack spec (#4272) 2022-02-21 09:18:58 -07:00
packs_test.go Add team targets to pack spec (#4272) 2022-02-21 09:18:58 -07:00
password_reset.go Fix password reset request expiration (#8246) 2022-10-25 09:46:41 -05:00
password_reset_test.go Fix password reset request expiration (#8246) 2022-10-25 09:46:41 -05:00
policies.go Add usage statistics to measure policy violations (#8199) 2022-10-14 13:55:37 -05:00
policies_test.go Add usage statistics to measure policy violations (#8199) 2022-10-14 13:55:37 -05:00
queries.go Improve live query UX (#5749) 2022-06-10 13:29:45 -05:00
queries_test.go Improve live query UX (#5749) 2022-06-10 13:29:45 -05:00
scheduled_queries.go Clone AppConfig and ScheduledQuery list by hand to improve CPU usage (#8794) 2022-11-23 12:04:06 -03:00
scheduled_queries_test.go Support async saving of scheduled query statistics (#7012) 2022-08-10 10:01:05 -04:00
schema.sql Add holdLock and releaseLock methods to schedule package (#8464) 2022-11-16 15:14:38 -06:00
sessions.go Add read replica testing helpers and fix non-sso login bug (#4908) 2022-04-04 16:52:05 -07:00
sessions_test.go Add read replica testing helpers and fix non-sso login bug (#4908) 2022-04-04 16:52:05 -07:00
software.go fix issue with duplicate vulns detected using nvd (#8613) 2022-11-10 10:28:00 -07:00
software_test.go fix issue with duplicate vulns detected using nvd (#8613) 2022-11-10 10:28:00 -07:00
statistics.go Refactor license so it is stored in the context (#8544) 2022-11-15 09:08:05 -05:00
statistics_test.go Refactor license so it is stored in the context (#8544) 2022-11-15 09:08:05 -05:00
targets.go Improve live query UX (#5749) 2022-06-10 13:29:45 -05:00
targets_test.go Improve live query UX (#5749) 2022-06-10 13:29:45 -05:00
teams.go fix a bug causing features to be false (#8240) 2022-10-14 19:27:37 -03:00
teams_test.go fix a bug causing features to be false (#8240) 2022-10-14 19:27:37 -03:00
testing_utils.go Fix double quote usage in sql query (#6707) 2022-07-20 10:10:03 -06:00
unicode_test.go Remove skipLoadingExtras and includeCVEScores from GetHost and HostByIdentifier methods (#5874) 2022-05-25 11:30:03 -05:00
users.go Add weekly active users count in anonymous usage stats (#6317) 2022-06-22 15:20:57 -04:00
users_test.go Add AvailableTeams to loginResponse and getUserResponse (#3585) 2022-01-13 13:57:44 -06:00
windows_updates.go Feature 7494: Use the MSRC security bulletin artifacts for detecting Win OS vulnerabilities (#7889) 2022-10-28 11:12:21 -04:00
windows_updates_test.go Feature 7494: Use the MSRC security bulletin artifacts for detecting Win OS vulnerabilities (#7889) 2022-10-28 11:12:21 -04:00