| 392 | } |
| 393 | |
| 394 | swoc::Errata |
| 395 | RecReadYamlConfigFile() |
| 396 | { |
| 397 | RecDebug(DL_Debug, "Reading '%s'", g_rec_config_fpath); |
| 398 | |
| 399 | // lock our hash table |
| 400 | ink_rwlock_wrlock(&g_records_rwlock); // review this lock maybe it should be done inside the API |
| 401 | |
| 402 | // Parse the actual file and hash the values. |
| 403 | auto ret = RecYAMLConfigFileParse(g_rec_config_fpath, SetRecordFromYAMLNode); |
| 404 | |
| 405 | ink_rwlock_unlock(&g_records_rwlock); |
| 406 | return ret; |
| 407 | } |
| 408 | |
| 409 | //------------------------------------------------------------------------- |
| 410 | // RecExecConfigUpdateCbs |
no test coverage detected