{"size": 303, "ext": "js", "max_stars_repo_path": "core/src/test/resources/testscripts/longMigrate.js", "max_stars_repo_name": "philippguertler/mesh", "max_stars_repo_stars_event_min_datetime": "2017-07-21T11:43:25.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T04:11:06.000Z", "max_issues_repo_path": "core/src/test/resources/testscripts/longMigrate.js", "max_issues_repo_name": "philippguertler/mesh", "max_issues_repo_issues_event_min_datetime": "2017-07-24T07:53:26.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-14T15:51:41.000Z", "max_forks_repo_path": "core/src/test/resources/testscripts/longMigrate.js", "max_forks_repo_name": "philippguertler/mesh", "max_forks_repo_forks_event_min_datetime": "2017-11-05T16:11:08.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-13T16:36:20.000Z"}
{"max_stars_count": 563, "max_issues_count": 765, "max_forks_count": 121, "avg_line_length": 21.6428571429, "max_line_length": 55, "alphanum_fraction": 0.6402640264}
function sleep(ms) {
	var start = new Date().getTime(), expire = start + ms;
	while (new Date().getTime() < expire) {
	}
	return;
}

function migrate(node, fieldname, convert) {
	if (node.fields['content']== "triggerWait") {
		sleep(10000); // Wait 1s
	}
	node.fields['content'] = false;
	return node;
}