forked from sergiotarxz/mangareader
Limiting search to 20 mangas to improve performance.
This commit is contained in:
parent
d78d687f6d
commit
52378d5623
@ -263,7 +263,7 @@ mg_backend_readmng_search (MgBackendReadmng *self,
|
||||
mangas_json_array = json_node_get_array (root);
|
||||
mangas_json_array_len = json_array_get_length (
|
||||
mangas_json_array);
|
||||
for (guint i = 0; i < mangas_json_array_len; i++) {
|
||||
for (guint i = 0; i < mangas_json_array_len && i < 19; i++) {
|
||||
JsonObject *manga_json_object =
|
||||
json_array_get_object_element (mangas_json_array, i);
|
||||
char *id_manga = NULL;
|
||||
|
@ -45,7 +45,7 @@ threaded_picture_recover (GTask *task, gpointer source_object,
|
||||
static GMutex mutex;
|
||||
g_mutex_lock (&mutex);
|
||||
if (!g_file_query_exists (image, NULL)) {
|
||||
g_warning ("Storing %s", url);
|
||||
g_info ("Storing %s", url);
|
||||
iostream = g_file_create_readwrite (image, G_FILE_CREATE_NONE,
|
||||
NULL, &error);
|
||||
if (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user