Skip to content

Instantly share code, notes, and snippets.

View hogedigo's full-sized avatar

Daigo Ikeda hogedigo

View GitHub Profile
@hogedigo
hogedigo / aets.go
Last active December 5, 2018 10:04
GAE/GoでTaskQueueのテスト(単純なPUSHキューAddだけ)
// Test Support Context
package aets
import (
"appengine"
"appengine/taskqueue"
"appengine_internal"
tqpb "appengine_internal/taskqueue"
"sync"
"time"
@hogedigo
hogedigo / TestServlet.java
Last active August 29, 2015 14:26
Queue#addAsync with Tx loses tasks sometimes.
package asynctqtest;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import java.util.logging.Logger;