Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,16 @@
@Named
public class ScioSearchServletFilter implements Filter {

private static final int NUM_BACKGROUND_THREADS = 1;
private static final int MAX_OUTSTANDING_REQUESTS = 10;
// Fix bug:
// [BUG] the plugin will lose some records with the station of high concurrency
// https://github.com/askscio/atlassian-plugins/issues/34
// This codes have been tested successfully in 16 cores and 256 GB memory. There is no data lost.
// huang.rong.gang@navercorp.com
private static final int NUM_BACKGROUND_THREADS = 32;
// private static final int NUM_BACKGROUND_THREADS = 1;

private static final int MAX_OUTSTANDING_REQUESTS = 5000;
// private static final int MAX_OUTSTANDING_REQUESTS = 10;
private static final int BASE_URL_MIN_PREFIX = "https://".length() + 1;

private static final Logger.Log logger = Logger.getInstance(ScioSearchServletFilter.class);
Expand Down