aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-04-23 13:19:24 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-04-23 13:19:24 +0000
commitbf6e480c1dda383bd55b311039d8d41189c5feea (patch)
tree3cc6778a026887eaf158e9802ce0b48f5eb50718
parent3dfbd2dbffb3fefe8a1e59088c12d42840a12311 (diff)
-rw-r--r--src/hostlist/hostlist-client.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c
index 54fb8db271..81e85a54a6 100644
--- a/src/hostlist/hostlist-client.c
+++ b/src/hostlist/hostlist-client.c
@@ -518,7 +518,10 @@ linked_list_contains (const char * uri)
}
-/* linked_list_? */
+/**
+ * Method returning the uri with the lowest quality in the datastore
+ * @return hostlist with lowest quality
+ */
static struct Hostlist *
linked_list_get_lowest_quality ( )
{
@@ -540,9 +543,7 @@ linked_list_get_lowest_quality ( )
/**
- * Task that checks if we should try to download a hostlist.
- * If so, we initiate the download, otherwise we schedule
- * this task again for a later time.
+ * Method to insert a hostlist into the datastore. If datastore contains maximum number of elements, the elements with lowest quality is dismissed
*/
static void
insert_hostlist ( void )