Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
chainsend: change default number of pieces
authorMaximiliano Geier <maximiliano.geier@loria.fr>
Fri, 7 Dec 2012 13:39:02 +0000 (14:39 +0100)
committerMaximiliano Geier <maximiliano.geier@loria.fr>
Fri, 7 Dec 2012 13:39:02 +0000 (14:39 +0100)
examples/msg/chainsend/broadcaster.h

index 3760973..44fe4cc 100644 (file)
@@ -15,9 +15,9 @@
 /* Connection parameters */
 #define MAX_PENDING_SENDS 10
 
-/* ``File'' details */
-#define PIECE_SIZE 16384
-#define PIECE_COUNT 50
+/* Default values for the ``file'' details */
+#define PIECE_SIZE 65536
+#define PIECE_COUNT 16384
 
 /* Broadcaster struct */
 typedef struct s_broadcaster {