Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 441 for Sleeps (0.26 seconds)

  1. src/main/java/org/codelibs/core/lang/ThreadUtil.java

        }
    
        /**
         * Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
         *
         * @param millis
         *            the length of time to sleep in milliseconds
         * @throws InterruptedRuntimeException
         *             if any thread has interrupted the current thread.
         */
        public static void sleep(final long millis) {
            if (millis < 1L) {
                return;
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. buildscripts/verify-healing-with-root-disks.sh

    	# /tmp/xxx/mnt/disk4 will be the same as '/' and it
    	# will be detected as root disk
    	while [ "$u" != "0" ]; do
    		sudo umount ${WORK_DIR}/mnt/disk4/
    		u=$?
    		sleep 1
    	done
    
    	# Wait until MinIO self heal kicks in
    	sleep 60
    
    	if [ -f ${WORK_DIR}/mnt/disk4/.minio.sys/format.json ]; then
    		echo "A root disk is formatted unexpectedely"
    		cat "${WORK_DIR}/server4.log"
    		exit -1
    	fi
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  3. .github/workflows/multipart/migrate.sh

    docker-compose -f docker-compose-site2.yaml up -d
    
    sleep 30s
    
    ./mc alias set site1 http://site1-nginx:9001 minioadmin minioadmin --api s3v4
    ./mc alias set site2 http://site2-nginx:9002 minioadmin minioadmin --api s3v4
    
    ./mc ready site1/
    ./mc ready site2/
    
    ./mc admin replicate add site1 site2
    ./mc mb site1/testbucket/
    ./mc cp -r --quiet /usr/bin site1/testbucket/
    
    sleep 5
    
    ./s3-check-md5 -h
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

        @Test
        public void test_doneBeforeResolve() throws Exception {
            final Deferred<SuggestResponse> deferred = new Deferred<>();
    
            Thread th = new Thread(() -> {
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. docs/bucket/replication/setup_2site_existing_replication.sh

    	--remote-bucket http://minio:minio123@127.0.0.1:9004/bucket
    
    remote_arn=$(./mc replicate ls sitea/bucket --json | jq -r .rule.Destination.Bucket)
    sleep 1
    
    ./mc replicate resync start sitea/bucket/ --remote-bucket "${remote_arn}"
    sleep 30s ## sleep for 30s idea is that we give 300ms per object.
    
    ./mc ls -r --versions sitea/bucket >/tmp/sitea.txt
    ./mc ls -r --versions siteb/bucket >/tmp/siteb.txt
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 09:42:21 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  6. docs/site-replication/run-multi-site-minio-idp.sh

    ## add foobar-g group with foobar
    ./mc admin group add minio2 foobar-g foobar
    
    ./mc admin policy attach minio1 consoleAdmin --user=foobar
    sleep 5
    
    ./mc admin user info minio2 foobar
    
    ./mc admin group info minio1 foobar-g
    
    ./mc admin policy create minio1 rw ./docs/site-replication/rw.json
    
    sleep 5
    ./mc admin policy info minio2 rw >/dev/null 2>&1
    
    ./mc admin replicate status minio1
    
    ## Add a new empty site
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 12.1K bytes
    - Click Count (0)
  7. buildscripts/test-timeout.sh

    	fi
    }
    
    catch
    
    function gen_put_request() {
    	hdr_sleep=$1
    	body_sleep=$2
    
    	echo "PUT /testbucket/testobject HTTP/1.1"
    	sleep $hdr_sleep
    	echo "Host: foo-header"
    	echo "User-Agent: curl/8.2.1"
    	echo "Accept: */*"
    	echo "Content-Length: 30"
    	echo ""
    
    	sleep $body_sleep
    	echo "random line 0"
    	echo "random line 1"
    	echo ""
    	echo ""
    }
    
    function send_put_object_request() {
    	hdr_timeout=$1
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Dec 02 13:21:17 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

        void testMonotonicBehavior() throws InterruptedException {
            Instant first = MonotonicClock.now();
            Thread.sleep(10); // Small delay
            Instant second = MonotonicClock.now();
            Thread.sleep(10); // Small delay
            Instant third = MonotonicClock.now();
    
            assertTrue(first.isBefore(second), "Time should progress forward between measurements");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. internal/config/heal/help.go

    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         Sleep,
    			Description: `maximum sleep duration between objects to slow down heal operation` + defaultHelpPostfix(Sleep),
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         IOCount,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 1.8K bytes
    - Click Count (0)
  10. internal/dsync/drwmutex_test.go

    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("2nd read lock acquired, waiting...")
    
    	go func() {
    		time.Sleep(2 * testDrwMutexAcquireTimeout)
    		drwm1.RUnlock(t.Context())
    		// fmt.Println("1st read lock released, waiting...")
    	}()
    
    	go func() {
    		time.Sleep(3 * testDrwMutexAcquireTimeout)
    		drwm2.RUnlock(t.Context())
    		// fmt.Println("2nd read lock released, waiting...")
    	}()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top