mirror of
https://github.com/clearlinux/clr-debug-info.git
synced 2026-09-06 05:41:43 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
935dbee3c7 | ||
|
|
0065ef2670 |
+4
-3
@@ -55,8 +55,8 @@
|
||||
|
||||
static pthread_mutex_t dupes_mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
char *urls[2] = { "https://debuginfo.clearlinux.org/debuginfo/",
|
||||
"https://debuginfo.clearlinux.org/debuginfo/" };
|
||||
char *urls[2] = { "https://cdn.download.clearlinux.org/debuginfo/",
|
||||
"https://cdn.download.clearlinux.org/debuginfo/" };
|
||||
int urlcounter = 1;
|
||||
|
||||
static NcHashmap *hash = NULL;
|
||||
@@ -322,6 +322,7 @@ static void *server_thread(void *arg)
|
||||
}
|
||||
|
||||
gettimeofday(&after, NULL);
|
||||
#If 0
|
||||
if (timedelta(before, after) > 0.6)
|
||||
printf("Request for %s took %5.2f seconds (%i - %i)\n",
|
||||
url,
|
||||
@@ -329,7 +330,7 @@ static void *server_thread(void *arg)
|
||||
(1.0 * after.tv_usec - before.tv_usec) / 1000000.0,
|
||||
ret,
|
||||
(int)timestamp);
|
||||
|
||||
#endif
|
||||
/* tell the other side we're done with the download */
|
||||
wr = write(fd, "ok", 3);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user