diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hostlist/hostlist-client.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c index 54fb8db27..81e85a54a 100644 --- a/src/hostlist/hostlist-client.c +++ b/src/hostlist/hostlist-client.c | |||
@@ -518,7 +518,10 @@ linked_list_contains (const char * uri) | |||
518 | } | 518 | } |
519 | 519 | ||
520 | 520 | ||
521 | /* linked_list_? */ | 521 | /** |
522 | * Method returning the uri with the lowest quality in the datastore | ||
523 | * @return hostlist with lowest quality | ||
524 | */ | ||
522 | static struct Hostlist * | 525 | static struct Hostlist * |
523 | linked_list_get_lowest_quality ( ) | 526 | linked_list_get_lowest_quality ( ) |
524 | { | 527 | { |
@@ -540,9 +543,7 @@ linked_list_get_lowest_quality ( ) | |||
540 | 543 | ||
541 | 544 | ||
542 | /** | 545 | /** |
543 | * Task that checks if we should try to download a hostlist. | 546 | * Method to insert a hostlist into the datastore. If datastore contains maximum number of elements, the elements with lowest quality is dismissed |
544 | * If so, we initiate the download, otherwise we schedule | ||
545 | * this task again for a later time. | ||
546 | */ | 547 | */ |
547 | static void | 548 | static void |
548 | insert_hostlist ( void ) | 549 | insert_hostlist ( void ) |