Skip to content

Commit

Permalink
cool
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarber-akamai committed Feb 7, 2025
1 parent d252578 commit 3e98da1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/database_mysql_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def _wait_for_database_status(
database: MySQLDatabase,
desired_status: str,
timeout: int = 30 * 60,
step: int = 5,
step: int = 2,
) -> None:
def __poll_status() -> bool:
database._api_get()
Expand Down Expand Up @@ -242,7 +242,7 @@ def _update(self, database: MySQLDatabase) -> None:
updated_fields = handle_updates(
database,
params,
{"label", "allow_list", "updates", "type", "version"},
{"label", "allow_list", "cluster_size", "updates", "type", "version"},
self.register_action,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
allow_list:
- 0.0.0.0/0
updates:
duration: 2
duration: 4
frequency: weekly
hour_of_day: 22
day_of_week: 3
Expand All @@ -57,7 +57,7 @@
- (db_create.database.version | split('.'))[0] == engine_version
- db_create.database.region == target_region
- db_create.database.type == 'g6-nanode-1'
- db_create.database.updates.duration == 3
- db_create.database.updates.duration == 4
- db_create.database.updates.frequency == 'weekly'
- db_create.database.updates.hour_of_day == 22
- db_create.database.updates.day_of_week == 3
Expand All @@ -72,7 +72,7 @@
allow_list:
- 10.0.0.3/32
updates:
duration: 3
duration: 4
frequency: weekly
hour_of_day: 16
day_of_week: 4
Expand All @@ -91,7 +91,7 @@
- (db_update.database.version | split('.'))[0] == engine_updated_version
- db_update.database.region == target_region
- db_update.database.type == 'g6-standard-1'
- db_update.database.updates.duration == 3
- db_update.database.updates.duration == 4
- db_update.database.updates.frequency == 'weekly'
- db_update.database.updates.hour_of_day == 16
- db_update.database.updates.day_of_week == 4
Expand All @@ -106,7 +106,7 @@
allow_list:
- 10.0.0.3/32
updates:
duration: 3
duration: 4
frequency: weekly
hour_of_day: 16
day_of_week: 4
Expand Down

0 comments on commit 3e98da1

Please sign in to comment.