Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 304671 Details for
Bug 445400
Enhancement request to provide page size used during CRL generation as configurable parameter.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
CRL page size tunable parameter
445400.txt (text/plain), 2.20 KB, created by
Andrew Wnuk
on 2008-05-06 18:33:01 UTC
(
hide
)
Description:
CRL page size tunable parameter
Filename:
MIME Type:
Creator:
Andrew Wnuk
Created:
2008-05-06 18:33:01 UTC
Size:
2.20 KB
patch
obsolete
>pki/base/common/src/com/netscape/certsrv/ca[21] svn diff ICertificateAuthority.java >Index: ICertificateAuthority.java >=================================================================== >--- ICertificateAuthority.java (revision 29) >+++ ICertificateAuthority.java (working copy) >@@ -72,6 +72,7 @@ > > public final static String PROP_CRL_SUBSTORE = "crl"; > // make this public so agent gateway can access for now. >+ public final static String PROP_CRL_PAGE_SIZE = "pageSize"; > public final static String PROP_MASTER_CRL = "MasterCRL"; > public final static String PROP_CRLEXT_SUBSTORE = "extension"; > public final static String PROP_ISSUING_CLASS = > >pki/base/ca/src/com/netscape/ca[13] svn diff CRLIssuingPoint.java >Index: CRLIssuingPoint.java >=================================================================== >--- CRLIssuingPoint.java (revision 29) >+++ CRLIssuingPoint.java (working copy) >@@ -71,6 +71,8 @@ > public static final long SECOND = 1000L; > public static final long MINUTE = (SECOND * 60L); > >+ private static final int CRL_PAGE_SIZE = 10000; >+ > /* configuration file property names */ > > public IPublisherProcessor mPublisherProcessor = null; >@@ -82,6 +84,7 @@ > private ICRLPublisher mCRLPublisher = null; > private int mCountMod = 0; > private int mCount = 0; >+ private int mPageSize = CRL_PAGE_SIZE; > > private CMSCRLExtensions mCMSCRLExtensions = null; > >@@ -394,6 +397,11 @@ > } > > mConfigStore = config; >+ >+ IConfigStore crlSubStore = mCA.getConfigStore().getSubStore(mCA.PROP_CRL_SUBSTORE); >+ mPageSize = crlSubStore.getInteger(mCA.PROP_CRL_PAGE_SIZE, CRL_PAGE_SIZE); >+ CMS.debug("CRL Page Size: "+ mPageSize); >+ > mCountMod = config.getInteger("countMod",0); > mCRLRepository = mCA.getCRLRepository(); > mCertRepository = mCA.getCertificateRepository(); >@@ -1573,7 +1581,7 @@ > ICertRecordList list = mCertRepository.findCertRecordsInList(filter, > new String[] {ICertRecord.ATTR_ID, ICertRecord.ATTR_REVO_INFO, "objectclass" }, > "serialno", >- 10000); >+ mPageSize); > > int totalSize = list.getSize(); > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 445400
: 304671 |
304677