Пример #1
0
 static UserStreamerStatic()
 {
     DeleteTweetBatch.LinkTo(DeleteTweetBlock, new DataflowLinkOptions {
         PropagateCompletion = true
     });
     //Udp.Client.SendTimeout = 1000;
     //Udp.Client.ReceiveTimeout = 1000;
 }
Пример #2
0
 public static void HandleDeleteMessage(DeleteMessage x)
 {
     //DeleteTweetBufferSizeが小さいとツイートよりツイ消しが先に処理されるかも
     DeleteTweetBatch.Post(x.Id);
 }