Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 55 for secondes (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            List<LogNotificationEvent> first = helper.drainAll();
            assertEquals(1, first.size());
            List<LogNotificationEvent> second = helper.drainAll();
            assertTrue(second.isEmpty());
        }
    
        @Test
        public void test_offer_bufferCapacity() {
            LogNotificationHelper helper = new LogNotificationHelper();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

            configHelper.setLoadCallback(() -> {
                latch.countDown();
                return 1;
            });
    
            configHelper.update();
    
            assertTrue("Load method should be called within 5 seconds", latch.await(5, TimeUnit.SECONDS));
            assertEquals(1, configHelper.getLoadCallCount());
        }
    
        @Test
        public void test_update_multipleCallsIncrementLoadCount() throws InterruptedException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        protected final ConcurrentHashMap<String, JobProcess> runningProcessMap = new ConcurrentHashMap<>();
    
        /** Timeout in seconds for process destruction */
        protected int processDestroyTimeout = 10;
    
        /** Timeout in seconds for stream closing operations */
        protected int streamCloseTimeout = 10;
    
        /**
         * Default constructor for ProcessHelper.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            this.encryptedCookieValue = encryptedCookieValue;
        }
    
        /**
         * Sets the maximum age of the role information in seconds.
         * @param maxAge The maximum age of the role information in seconds.
         */
        public void setMaxAge(final long maxAge) {
            this.maxAge = maxAge;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            assertEquals("Store2", names[1]);
            assertEquals(1, loadCount[0]);
    
            // Second immediate call should use cache
            names = testFactory.getDataStoreNames();
            assertEquals(2, names.length);
            assertEquals(1, loadCount[0]); // Should not increment
    
            // Simulate time passing (more than 60 seconds)
            testFactory.lastLoadedTime = System.currentTimeMillis() - 61000L;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/CrawlJob.java

         * -2: use system default, -1: never expire, 0 or positive: expire after specified days.
         */
        protected int documentExpires = -2;
    
        /**
         * Hot thread monitoring interval in seconds.
         * -1: disabled, positive value: enable hot thread monitoring with specified interval.
         * Used for performance analysis and debugging of the crawler process.
         */
        protected int hotThreadInterval = -1;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

                return false;
            }
    
            return true;
        }
    
        /**
         * Get the Retry-After header value in seconds.
         * @return the retry after seconds
         */
        public int getRetryAfterSeconds() {
            return ComponentUtil.getFessConfig().getRateLimitRetryAfterSecondsAsInteger();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            } catch (Exception e) {
                // Expected
            }
            long duration = System.currentTimeMillis() - startTime;
    
            // Test should complete in under 1 second (much less than the original 25+ seconds)
            assertTrue("Test should complete quickly (duration: " + duration + "ms)", duration < 1000);
        }
    
        // Fast mock implementations to minimize overhead
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/filter/RateLimitFilter.java

            response.getWriter()
                    .write("{\"error\":\"rate_limit_exceeded\",\"message\":\"Too many requests. Please retry after " + retryAfterSeconds
                            + " seconds.\",\"retry_after\":" + retryAfterSeconds + "}");
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. src/main/resources/fess_config.properties

    # Window size in milliseconds.
    rate.limit.window.ms=60000
    # Duration in milliseconds to block IP when limit exceeded.
    rate.limit.block.duration.ms=300000
    # Retry-After header value in seconds.
    rate.limit.retry.after.seconds=60
    # Comma-separated list of whitelisted IPs (e.g., 127.0.0.1,::1).
    rate.limit.whitelist.ips=127.0.0.1,::1
    # Comma-separated list of blocked IPs.
    rate.limit.blocked.ips=
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
Back to Top